Johannes Weiner
3d596f7b90
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 <hannes@cmpxchg.org>
Acked-by: David S. Miller <davem@davemloft.net>
Reviewed-by: Vladimir Davydov <vdavydov@virtuozzo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-01-14 16:00:49 -08:00
..
2015-12-20 08:21:00 +01:00
2016-01-04 10:29:17 -05:00
2015-03-02 16:43:41 -05:00
2015-12-15 16:50:08 -05:00
2015-05-11 10:50:17 -04:00
2015-11-30 14:47:33 -05:00
2015-12-14 16:09:30 -05:00
2016-01-11 23:55:43 -05:00
2016-01-06 16:36:44 +01:00
2016-01-10 16:50:21 -05:00
2015-12-01 15:45:05 -05:00
2015-10-13 17:42:34 +02:00
2015-11-13 09:24:40 -08:00
2016-01-14 16:00:49 -08:00
2015-10-09 07:52:27 -07:00
2015-12-03 21:09:12 -05:00
2015-12-14 16:09:30 -05:00
2015-11-18 16:27:46 -05:00
2016-01-07 14:31:26 -05:00
2016-01-06 16:31:56 -05:00
2015-11-23 14:56:15 -05:00
2016-01-05 22:25:57 -05:00
2016-01-14 16:00:49 -08:00
2016-01-11 23:55:43 -05:00
2015-05-11 10:50:17 -04:00
2015-12-14 16:09:30 -05:00
2015-12-14 16:16:44 -05:00
2015-10-23 03:05:19 -07:00
2016-01-04 16:45:24 -05:00
2015-10-07 04:27:43 -07:00
2015-07-27 01:06:53 -07:00
2015-12-17 22:08:28 -05:00
2016-01-04 20:40:41 +01:00
2015-12-17 22:08:28 -05:00
2016-01-08 20:53:16 -05:00
2015-03-31 13:58:35 -04:00
2015-12-15 23:25:20 -05:00
2015-06-18 21:14:32 +02:00
2016-01-04 21:48:15 -05:00
2016-01-10 23:49:21 -05:00
2015-11-29 22:17:17 -05:00
2016-01-12 12:05:38 -05:00
2015-12-22 15:23:05 -05:00
2016-01-04 19:22:05 +01:00
2015-06-24 02:58:51 -07:00
2016-01-12 18:57:02 -08:00
2016-01-11 23:55:43 -05:00
2016-01-11 23:55:43 -05:00
2016-01-14 16:00:49 -08:00
2016-01-10 16:50:20 -05:00
2015-12-25 23:32:23 -05:00
2016-01-11 23:55:43 -05:00
2015-12-08 21:55:49 -05:00
2015-08-09 22:43:52 -07:00
2015-12-17 22:08:28 -05:00
2015-05-11 10:50:17 -04:00
2015-12-22 16:26:31 -05:00
2015-04-09 00:02:26 -04:00
2016-01-10 22:13:15 -05:00
2015-09-29 20:40:32 -07:00
2016-01-14 16:00:49 -08:00
2015-10-23 06:22:08 -07:00