Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1269048

Re: [PATCH 05/14] net: tcp_memcontrol: protect all tcp_memcontrol calls by jump-label

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH 05/14] net: tcp_memcontrol: protect all tcp_memcontrol calls by jump-label
Date 2015-11-13 17:10 +0100
Message-ID <qup5g-by-21@gated-at.bofh.it> (permalink)
References <qu9MR-79j-5@gated-at.bofh.it> <qu9MR-79j-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Johannes Weiner <hannes@cmpxchg.org>
Date: Thu, 12 Nov 2015 18:41:24 -0500

> 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>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 05/14] net: tcp_memcontrol: protect all tcp_memcontrol calls by jump-label Johannes Weiner <hannes@cmpxchg.org> - 2015-11-13 00:50 +0100
  Re: [PATCH 05/14] net: tcp_memcontrol: protect all tcp_memcontrol  calls by jump-label David Miller <davem@davemloft.net> - 2015-11-13 17:10 +0100
  Re: [PATCH 05/14] net: tcp_memcontrol: protect all tcp_memcontrol  calls by jump-label Vladimir Davydov <vdavydov@virtuozzo.com> - 2015-11-14 17:40 +0100

csiph-web