projects
/
kernel
/
swap-modules.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b54b37
)
[FIX] Allocate uretprobe_instance with correct gfp flag
56/46856/4
author
Vyacheslav Cherkashin
<v.cherkashin@samsung.com>
Wed, 26 Aug 2015 10:55:30 +0000
(13:55 +0300)
committer
Dmitry Kovalenko
<d.kovalenko@samsung.com>
Fri, 28 Aug 2015 06:36:11 +0000
(23:36 -0700)
Need to be GFP_ATOMIC
Change-Id: I0b98334c699ac0e509eea479cab6c8c28c9a1b96
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
uprobe/swap_uprobes.c
patch
|
blob
|
history
diff --git
a/uprobe/swap_uprobes.c
b/uprobe/swap_uprobes.c
index
838820e
..
c5daf1c
100644
(file)
--- a/
uprobe/swap_uprobes.c
+++ b/
uprobe/swap_uprobes.c
@@
-870,7
+870,7
@@
int swap_register_uretprobe(struct uretprobe *rp)
INIT_HLIST_HEAD(&rp->free_instances);
for (i = 0; i < rp->maxactive; i++) {
- inst = kmalloc(sizeof(*inst) + rp->data_size, GFP_
ATOMIC
);
+ inst = kmalloc(sizeof(*inst) + rp->data_size, GFP_
KERNEL
);
if (inst == NULL) {
free_urp_inst(rp);
return -ENOMEM;