: gets a new online cpu to use percpu_pagelist_fraction
Subsystems (2)
PATCH 1/1 : gets a new online cpu to use percpu_pagelist_fraction
If percpu_pagelist_fraction tunable is set then this patch allows a newly brought online cpu to use new settings for high and batch values in its per cpu pagelists.
Signed-off-by Rohit Seth <[email protected]>
mm/page_alloc.c +4 -0
@@ -1977,6 +1977,10 @@ goto bad;setup_pageset (zone->pageset[cpu],zone_batchsize (zone)); + +if (percpu_pagelist_fraction) +setup_pagelist_highmark (zone_pcp (zone, cpu), + (zone->present_pages / percpu_pagelist_fraction)); }return 0 ;
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>