git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
memcg: enable accounting of ipc resources
[sfrench/cifs-2.6.git]
/
ipc
/
msg.c
diff --git
a/ipc/msg.c
b/ipc/msg.c
index 6810276d6bb98d472c18cac4ea04989881a3e0e9..a0d05775af2c5a1921282fed41732f571499e0f4 100644
(file)
--- a/
ipc/msg.c
+++ b/
ipc/msg.c
@@
-147,7
+147,7
@@
static int newque(struct ipc_namespace *ns, struct ipc_params *params)
key_t key = params->key;
int msgflg = params->flg;
- msq = kmalloc(sizeof(*msq), GFP_KERNEL);
+ msq = kmalloc(sizeof(*msq), GFP_KERNEL
_ACCOUNT
);
if (unlikely(!msq))
return -ENOMEM;