Home
last modified time | relevance | path

Searched refs:cc (Results 1 – 6 of 6) sorted by relevance

/mm/
Dcompaction.c115 static inline bool isolation_suitable(struct compact_control *cc, in isolation_suitable() argument
118 if (cc->ignore_skip_hint) in isolation_suitable()
176 static void update_pageblock_skip(struct compact_control *cc, in update_pageblock_skip() argument
180 struct zone *zone = cc->zone; in update_pageblock_skip()
183 if (cc->ignore_skip_hint) in update_pageblock_skip()
198 if (cc->finished_update_migrate) in update_pageblock_skip()
202 if (cc->mode != MIGRATE_ASYNC && in update_pageblock_skip()
206 if (cc->finished_update_free) in update_pageblock_skip()
213 static inline bool isolation_suitable(struct compact_control *cc, in isolation_suitable() argument
219 static void update_pageblock_skip(struct compact_control *cc, in update_pageblock_skip() argument
[all …]
Dzsmalloc.c1613 struct zs_compact_control *cc) in migrate_zspage() argument
1617 struct page *s_page = cc->s_page; in migrate_zspage()
1618 struct page *d_page = cc->d_page; in migrate_zspage()
1619 unsigned long index = cc->index; in migrate_zspage()
1651 cc->s_page = s_page; in migrate_zspage()
1652 cc->index = index; in migrate_zspage()
1653 cc->nr_migrated = nr_migrated; in migrate_zspage()
1710 struct zs_compact_control cc; in __zs_compact() local
1722 cc.index = 0; in __zs_compact()
1723 cc.s_page = src_page; in __zs_compact()
[all …]
Dinternal.h180 isolate_freepages_range(struct compact_control *cc,
183 isolate_migratepages_range(struct compact_control *cc,
Dpage_alloc.c6308 static int __alloc_contig_migrate_range(struct compact_control *cc, in __alloc_contig_migrate_range() argument
6319 while (pfn < end || !list_empty(&cc->migratepages)) { in __alloc_contig_migrate_range()
6325 if (list_empty(&cc->migratepages)) { in __alloc_contig_migrate_range()
6326 cc->nr_migratepages = 0; in __alloc_contig_migrate_range()
6327 pfn = isolate_migratepages_range(cc, pfn, end); in __alloc_contig_migrate_range()
6338 nr_reclaimed = reclaim_clean_pages_from_list(cc->zone, in __alloc_contig_migrate_range()
6339 &cc->migratepages); in __alloc_contig_migrate_range()
6340 cc->nr_migratepages -= nr_reclaimed; in __alloc_contig_migrate_range()
6342 ret = migrate_pages(&cc->migratepages, alloc_migrate_target, in __alloc_contig_migrate_range()
6343 NULL, 0, cc->mode, MR_CMA); in __alloc_contig_migrate_range()
[all …]
DMakefile24 CFLAGS_usercopy.o += $(call cc-disable-warning, frame-address)
/mm/kasan/
DMakefile8 CFLAGS_kasan.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector)