Re: [PATCH net-next] netlink: do not enter direct reclaim from netlink_trim()

2017-01-16 Thread David Miller
From: Eric Dumazet Date: Fri, 13 Jan 2017 09:11:22 -0800 > From: Eric Dumazet > > In commit d35c99ff77ecb ("netlink: do not enter direct reclaim from > netlink_dump()") we made sure to not trigger expensive memory reclaim. > > Problem is that a bit

Re: [PATCH net-next] netlink: do not enter direct reclaim from netlink_trim()

2017-01-13 Thread Alexei Starovoitov
On Fri, Jan 13, 2017 at 09:11:22AM -0800, Eric Dumazet wrote: > From: Eric Dumazet > > In commit d35c99ff77ecb ("netlink: do not enter direct reclaim from > netlink_dump()") we made sure to not trigger expensive memory reclaim. > > Problem is that a bit later,

[PATCH net-next] netlink: do not enter direct reclaim from netlink_trim()

2017-01-13 Thread Eric Dumazet
From: Eric Dumazet In commit d35c99ff77ecb ("netlink: do not enter direct reclaim from netlink_dump()") we made sure to not trigger expensive memory reclaim. Problem is that a bit later, netlink_trim() might be called and trigger memory reclaim. netlink_trim() should be