Searched refs:batch (Results 1 – 9 of 9) sorted by relevance
/mm/ |
D | mmu_gather.c | 18 struct mmu_gather_batch *batch; in tlb_next_batch() local 20 batch = tlb->active; in tlb_next_batch() 21 if (batch->next) { in tlb_next_batch() 22 tlb->active = batch->next; in tlb_next_batch() 29 batch = (void *)__get_free_pages(GFP_NOWAIT | __GFP_NOWARN, 0); in tlb_next_batch() 30 if (!batch) in tlb_next_batch() 34 batch->next = NULL; in tlb_next_batch() 35 batch->nr = 0; in tlb_next_batch() 36 batch->max = MAX_GATHER_BATCH; in tlb_next_batch() 38 tlb->active->next = batch; in tlb_next_batch() [all …]
|
D | page_alloc.c | 1557 int prefetch_nr = READ_ONCE(pcp->batch); in free_pcppages_bulk() 3267 int batch = READ_ONCE(pcp->batch); in get_populated_pcp_list() local 3281 if (batch > 1) in get_populated_pcp_list() 3282 batch = max(batch >> order, 2); in get_populated_pcp_list() 3283 alloced = rmqueue_bulk(zone, order, batch, list, migratetype, alloc_flags); in get_populated_pcp_list() 3300 int to_drain, batch; in drain_zone_pages() local 3302 batch = READ_ONCE(pcp->batch); in drain_zone_pages() 3303 to_drain = min(pcp->count, batch); in drain_zone_pages() 3518 static int nr_pcp_free(struct per_cpu_pages *pcp, int high, int batch) in nr_pcp_free() argument 3523 if (unlikely(high < batch)) in nr_pcp_free() [all …]
|
D | mm_init.c | 150 s32 batch = max_t(s32, nr*2, 32); in mm_compute_batch() local 164 vm_committed_as_batch = max_t(s32, memsized_batch, batch); in mm_compute_batch()
|
D | memcontrol.c | 2607 unsigned int batch = max(MEMCG_CHARGE_BATCH, nr_pages); in try_charge_memcg() local 2623 page_counter_try_charge(&memcg->memsw, batch, &counter)) { in try_charge_memcg() 2624 if (page_counter_try_charge(&memcg->memory, batch, &counter)) in try_charge_memcg() 2627 page_counter_uncharge(&memcg->memsw, batch); in try_charge_memcg() 2634 if (batch > nr_pages) { in try_charge_memcg() 2635 batch = nr_pages; in try_charge_memcg() 2737 if (batch > nr_pages) in try_charge_memcg() 2738 refill_stock(memcg, batch - nr_pages); in try_charge_memcg() 2776 current->memcg_nr_pages_over_high += batch; in try_charge_memcg()
|
D | slab.c | 523 static void init_arraycache(struct array_cache *ac, int limit, int batch) in init_arraycache() argument 528 ac->batchcount = batch; in init_arraycache() 645 int batch, gfp_t gfp) in __alloc_alien_cache() argument 653 init_arraycache(&alc->ac, entries, batch); in __alloc_alien_cache()
|
D | vmstat.c | 1737 pcp->batch); in zoneinfo_show_print()
|
D | shmem.c | 558 unsigned long batch = sc ? sc->nr_to_scan : 128; in shmem_unused_huge_shrink() local 587 if (!--batch) in shmem_unused_huge_shrink()
|
D | zsmalloc.c | 2367 pool->shrinker.batch = 0; in zs_register_shrinker()
|
D | vmscan.c | 729 long batch_size = shrinker->batch ? shrinker->batch in do_shrink_slab()
|