]> Git Repo - linux.git/commit - net/tipc/msg.c
tipc: allocate user memory with GFP_KERNEL flag
authorParthasarathy Bhuvaragan <[email protected]>
Fri, 13 Jan 2017 14:46:25 +0000 (15:46 +0100)
committerDavid S. Miller <[email protected]>
Mon, 16 Jan 2017 18:31:53 +0000 (13:31 -0500)
commit57d5f64d83ab5b5a5118b1597386dd76eaf4340d
treed0dbe9d1335b2835b42d78ebe2525a9b3f97c768
parent34c55cf2fc75f8bf6ba87df321038c064cf2d426
tipc: allocate user memory with GFP_KERNEL flag

Until now, we allocate memory always with GFP_ATOMIC flag.
When the system is under memory pressure and a user tries to send,
the send fails due to low memory. However, the user application
can wait for free memory if we allocate it using GFP_KERNEL flag.

In this commit, we use allocate memory with GFP_KERNEL for all user
allocation.

Reported-by: Rune Torgersen <[email protected]>
Acked-by: Jon Maloy <[email protected]>
Signed-off-by: Parthasarathy Bhuvaragan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/tipc/discover.c
net/tipc/link.c
net/tipc/msg.c
net/tipc/msg.h
net/tipc/name_distr.c
This page took 0.053962 seconds and 4 git commands to generate.