The patch titled Subject: mmpage_alloc-pf_wq_worker-threads-must-sleep-at-should_reclaim_retry-fix has been added to the -mm tree. Its filename is mmpage_alloc-pf_wq_worker-threads-must-sleep-at-should_reclaim_retry-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mmpage_alloc-pf_wq_worker-threads-must-sleep-at-should_reclaim_retry-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mmpage_alloc-pf_wq_worker-threads-must-sleep-at-should_reclaim_retry-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mmpage_alloc-pf_wq_worker-threads-must-sleep-at-should_reclaim_retry-fix reflow comment to 80 cols to save a couple of lines Cc: Michal Hocko <mhocko@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_alloc.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) --- a/mm/page_alloc.c~mmpage_alloc-pf_wq_worker-threads-must-sleep-at-should_reclaim_retry-fix +++ a/mm/page_alloc.c @@ -3994,13 +3994,11 @@ should_reclaim_retry(gfp_t gfp_mask, uns out: /* - * Memory allocation/reclaim might be called from a WQ - * context and the current implementation of the WQ - * concurrency control doesn't recognize that - * a particular WQ is congested if the worker thread is - * looping without ever sleeping. Therefore we have to - * do a short sleep here rather than calling - * cond_resched(). + * Memory allocation/reclaim might be called from a WQ context and the + * current implementation of the WQ concurrency control doesn't + * recognize that a particular WQ is congested if the worker thread is + * looping without ever sleeping. Therefore we have to do a short sleep + * here rather than calling cond_resched(). */ if (current->flags & PF_WQ_WORKER) schedule_timeout_uninterruptible(1); _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-utilc-improve-kvfree-kerneldoc.patch arm-arch-arm-include-asm-pageh-needs-personalityh.patch mm.patch mmpage_alloc-pf_wq_worker-threads-must-sleep-at-should_reclaim_retry-fix.patch mm-page_alloc-reduce-unnecessary-binary-search-in-memblock_next_valid_pfn-fix.patch mm-page_alloc-reduce-unnecessary-binary-search-in-memblock_next_valid_pfn-fix-fix.patch mm-memblock-introduce-memblock_search_pfn_regions-fix.patch mm-calculate-deferred-pages-after-skipping-mirrored-memory-fix.patch list_lru-prefetch-neighboring-list-entries-before-acquiring-lock-fix.patch kernel-forkc-export-kernel_thread-to-modules.patch slab-leaks3-default-y.patch