diff options
| author | Eric Dumazet <[email protected]> | 2017-01-13 09:11:22 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-01-16 13:39:35 -0500 |
| commit | e89df813174d81abee8be8cabc047d69ef78c26d (patch) | |
| tree | 1ca7dfe3ec605b658246e3efb24c9c8e2416e2f4 /tools/perf/scripts/python | |
| parent | 3be0679b4a91930ca8d0c8a66b39058a698e70fe (diff) | |
netlink: do not enter direct reclaim from netlink_trim()
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 best effort, and really as fast as possible.
Under memory pressure, it is fine to not trim this skb.
Signed-off-by: Eric Dumazet <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions