diff options
author | Johannes Weiner <[email protected]> | 2016-01-14 15:21:05 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-01-14 16:00:49 -0800 |
commit | 3d596f7b907b0281b997cf30c92994a71ad0a1a9 (patch) | |
tree | c039825abb7b78cc1cbe3d06e2a2fe481f81f3af /scripts/gdb/linux/symbols.py | |
parent | 931f3f4beb031cd483c1c8ab159ef1f8bdbe8888 (diff) |
net: tcp_memcontrol: protect all tcp_memcontrol calls by jump-label
Move the jump-label from sock_update_memcg() and sock_release_memcg() to
the callsite, and so eliminate those function calls when socket
accounting is not enabled.
This also eliminates the need for dummy functions because the calls will
be optimized away if the Kconfig options are not enabled.
Signed-off-by: Johannes Weiner <[email protected]>
Acked-by: David S. Miller <[email protected]>
Reviewed-by: Vladimir Davydov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions