Skip to content

Commit 9e80c71

Browse files
Tetsuo Handatorvalds
Tetsuo Handa
authored andcommitted
mm: remove extra newline from allocation stall warning
Commit 63f53de ("mm: warn about allocations which stall for too long") by error embedded "\n" in the format string, resulting in strange output. [ 722.876655] kworker/0:1: page alloction stalls for 160001ms, order:0 [ 722.876656] , mode:0x2400000(GFP_NOIO) [ 722.876657] CPU: 0 PID: 6966 Comm: kworker/0:1 Not tainted 4.8.0+ #69 Link: http://lkml.kernel.org/r/1476026219-7974-1-git-send-email-penguin-kernel@I-love.SAKURA.ne.jp Signed-off-by: Tetsuo Handa <[email protected]> Acked-by: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 27bcd37 commit 9e80c71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/page_alloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3658,7 +3658,7 @@ __alloc_pages_slowpath(gfp_t gfp_mask, unsigned int order,
36583658
/* Make sure we know about allocations which stall for too long */
36593659
if (time_after(jiffies, alloc_start + stall_timeout)) {
36603660
warn_alloc(gfp_mask,
3661-
"page alloction stalls for %ums, order:%u\n",
3661+
"page allocation stalls for %ums, order:%u",
36623662
jiffies_to_msecs(jiffies-alloc_start), order);
36633663
stall_timeout += 10 * HZ;
36643664
}

0 commit comments

Comments
 (0)