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:
c8ed39e
)
oom: print points as unsigned long
author
David Rientjes
<rientjes@google.com>
Tue, 31 Jul 2007 07:37:32 +0000
(
00:37
-0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 31 Jul 2007 22:39:36 +0000
(15:39 -0700)
In badness(), the automatic variable 'points' is unsigned long. Print it
as such.
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/oom_kill.c
patch
|
blob
|
history
diff --git
a/mm/oom_kill.c
b/mm/oom_kill.c
index 10367654ae774fba2072698e1fac470174d8698e..f9b82ad5047f7c7a175afc5c197108fecca48e84 100644
(file)
--- a/
mm/oom_kill.c
+++ b/
mm/oom_kill.c
@@
-157,7
+157,7
@@
unsigned long badness(struct task_struct *p, unsigned long uptime)
}
#ifdef DEBUG
- printk(KERN_DEBUG "OOMkill: task %d (%s) got %
d
points\n",
+ printk(KERN_DEBUG "OOMkill: task %d (%s) got %
lu
points\n",
p->pid, p->comm, points);
#endif
return points;