projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27bcd37
)
mm: remove extra newline from allocation stall warning
author
Tetsuo Handa
<
[email protected]
>
Thu, 10 Nov 2016 18:46:04 +0000
(10:46 -0800)
committer
Linus Torvalds
<
[email protected]
>
Fri, 11 Nov 2016 16:12:37 +0000
(08:12 -0800)
Commit
63f53dea0c98
("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]
>
mm/page_alloc.c
patch
|
blob
|
history
diff --git
a/mm/page_alloc.c
b/mm/page_alloc.c
index 072d791dce2d5e1304a8c2a9524a1a18dd89b623..6de9440e3ae2d995b28577dc4a000fc23f4182c0 100644
(file)
--- a/
mm/page_alloc.c
+++ b/
mm/page_alloc.c
@@
-3658,7
+3658,7
@@
retry:
/* Make sure we know about allocations which stall for too long */
if (time_after(jiffies, alloc_start + stall_timeout)) {
warn_alloc(gfp_mask,
- "page alloc
tion stalls for %ums, order:%u\n
",
+ "page alloc
ation stalls for %ums, order:%u
",
jiffies_to_msecs(jiffies-alloc_start), order);
stall_timeout += 10 * HZ;
}