summary refs log tree commit diff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorParthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>2017-01-13 15:46:25 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-16 13:31:53 -0500
commit57d5f64d83ab5b5a5118b1597386dd76eaf4340d (patch)
treed0dbe9d1335b2835b42d78ebe2525a9b3f97c768 /lib/Makefile
parent34c55cf2fc75f8bf6ba87df321038c064cf2d426 (diff)
downloadlinux-57d5f64d83ab5b5a5118b1597386dd76eaf4340d.tar.gz
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 <runet@innovsys.com>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/Makefile')
0 files changed, 0 insertions, 0 deletions