projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
215368e
)
tracing: replace a GFP_ATOMIC with GFP_KERNEL allocation
author
Li Zefan
<lizf@cn.fujitsu.com>
Mon, 15 Jun 2009 02:57:28 +0000
(10:57 +0800)
committer
Steven Rostedt
<rostedt@goodmis.org>
Mon, 15 Jun 2009 15:37:14 +0000
(11:37 -0400)
Atomic allocation is not needed here.
[ Impact: clean up of memory alloction type ]
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <
4A35B898
.
2050607
@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/trace/trace.c
b/kernel/trace/trace.c
index 7355a38e18be7890aeda907eb72fe70c9cd605f1..0f57f1b443b69c2a96f3c50ea79f6d330d4e41f2 100644
(file)
--- a/
kernel/trace/trace.c
+++ b/
kernel/trace/trace.c
@@
-3627,7
+3627,7
@@
tracing_stats_read(struct file *filp, char __user *ubuf,
struct trace_seq *s;
unsigned long cnt;
- s = kmalloc(sizeof(*s), GFP_
ATOMIC
);
+ s = kmalloc(sizeof(*s), GFP_
KERNEL
);
if (!s)
return ENOMEM;