aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/msgutil.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2016-11-09 09:50:27 +0100
committerIngo Molnar <mingo@kernel.org>2016-11-09 17:07:11 +0100
commitca4b2df651a098a716e8cd8ebba79ba329e3dcc3 (patch)
tree0aa7f067fef0e7de075e7bd9dce2e81795e93e44 /ipc/msgutil.c
parentx86/cpu: Get rid of the show_msr= boot option (diff)
parentx86/cpu/AMD: Fix cpu_llc_id for AMD Fam17h systems (diff)
downloadlinux-ca4b2df651a098a716e8cd8ebba79ba329e3dcc3.tar.gz
linux-ca4b2df651a098a716e8cd8ebba79ba329e3dcc3.zip
Merge branch 'x86/urgent' into x86/cpu, to pick up dependent fix
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'ipc/msgutil.c')
-rw-r--r--ipc/msgutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/msgutil.c b/ipc/msgutil.c
index a521999de4f1..bf74eaa5c39f 100644
--- a/ipc/msgutil.c
+++ b/ipc/msgutil.c
@@ -53,7 +53,7 @@ static struct msg_msg *alloc_msg(size_t len)
size_t alen;
alen = min(len, DATALEN_MSG);
- msg = kmalloc(sizeof(*msg) + alen, GFP_KERNEL);
+ msg = kmalloc(sizeof(*msg) + alen, GFP_KERNEL_ACCOUNT);
if (msg == NULL)
return NULL;
@@ -65,7 +65,7 @@ static struct msg_msg *alloc_msg(size_t len)
while (len > 0) {
struct msg_msgseg *seg;
alen = min(len, DATALEN_SEG);
- seg = kmalloc(sizeof(*seg) + alen, GFP_KERNEL);
+ seg = kmalloc(sizeof(*seg) + alen, GFP_KERNEL_ACCOUNT);
if (seg == NULL)
goto out_err;
*pseg = seg;