[PATCH for v4.9 LTS 84/86] tipc: allocate user memory with GFP_KERNEL flag

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Parthasarathy Bhuvaragan [ Upstream commit 57d5f64d83ab5b5a5118b1597386dd76eaf4340d ] 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.

[PATCH for v4.9 LTS 84/86] tipc: allocate user memory with GFP_KERNEL flag

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Parthasarathy Bhuvaragan [ Upstream commit 57d5f64d83ab5b5a5118b1597386dd76eaf4340d ] 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