• Home
  • Raw
  • Download

Lines Matching refs:batch

1491 			if (prefetch_nr++ < pcp->batch)  in free_pcppages_bulk()
3066 pcp->batch, list, in get_populated_pcp_list()
3087 int to_drain, batch; in drain_zone_pages() local
3090 batch = READ_ONCE(pcp->batch); in drain_zone_pages()
3091 to_drain = min(pcp->count, batch); in drain_zone_pages()
3349 unsigned long batch = READ_ONCE(pcp->batch); in free_unref_page_commit() local
3350 free_pcppages_bulk(zone, batch, pcp); in free_unref_page_commit()
6178 static void setup_pageset(struct per_cpu_pageset *p, unsigned long batch);
6590 int batch; in zone_batchsize() local
6596 batch = zone_managed_pages(zone) / 1024; in zone_batchsize()
6598 if (batch * PAGE_SIZE > 1024 * 1024) in zone_batchsize()
6599 batch = (1024 * 1024) / PAGE_SIZE; in zone_batchsize()
6600 batch /= 4; /* We effectively *= 4 below */ in zone_batchsize()
6601 if (batch < 1) in zone_batchsize()
6602 batch = 1; in zone_batchsize()
6614 batch = rounddown_pow_of_two(batch + batch/2) - 1; in zone_batchsize()
6616 return batch; in zone_batchsize()
6650 unsigned long batch) in pageset_update() argument
6652 trace_android_vh_pageset_update(&high, &batch); in pageset_update()
6654 pcp->batch = 1; in pageset_update()
6661 pcp->batch = batch; in pageset_update()
6665 static void pageset_set_batch(struct per_cpu_pageset *p, unsigned long batch) in pageset_set_batch() argument
6667 pageset_update(&p->pcp, 6 * batch, max(1UL, 1 * batch)); in pageset_set_batch()
6682 static void setup_pageset(struct per_cpu_pageset *p, unsigned long batch) in setup_pageset() argument
6685 pageset_set_batch(p, batch); in setup_pageset()
6695 unsigned long batch = max(1UL, high / 4); in pageset_set_high() local
6697 batch = PAGE_SHIFT * 8; in pageset_set_high()
6699 pageset_update(&p->pcp, high, batch); in pageset_set_high()