summaryrefslogtreecommitdiffstats
path: root/mm/page_owner.c
diff options
context:
space:
mode:
authorVlastimil Babka <vbabka@suse.cz>2017-09-07 01:20:48 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2017-09-07 02:27:26 +0200
commit0fc542b7dd90a7080fc1a8c846d13a4ddad509ba (patch)
treeee5422ad6a51cc864faea00bce1d0f460a677878 /mm/page_owner.c
parentmm, page_owner: make init_pages_in_zone() faster (diff)
downloadlinux-0fc542b7dd90a7080fc1a8c846d13a4ddad509ba.tar.xz
linux-0fc542b7dd90a7080fc1a8c846d13a4ddad509ba.zip
mm, page_ext: periodically reschedule during page_ext_init()
page_ext_init() can take long on large machines, so add a cond_resched() point after each section is processed. This will allow moving the init to a later point at boot without triggering lockup reports. Link: http://lkml.kernel.org/r/20170720134029.25268-3-vbabka@suse.cz Signed-off-by: Vlastimil Babka <vbabka@suse.cz> Acked-by: Michal Hocko <mhocko@suse.com> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Cc: Mel Gorman <mgorman@techsingularity.net> Cc: Yang Shi <yang.shi@linaro.org> Cc: Laura Abbott <labbott@redhat.com> Cc: Vinayak Menon <vinmenon@codeaurora.org> Cc: zhong jiang <zhongjiang@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_owner.c')
0 files changed, 0 insertions, 0 deletions