[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151113.110122.2158673468450208508.davem@davemloft.net>
Date: Fri, 13 Nov 2015 11:01:22 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: hannes@...xchg.org
Cc: akpm@...ux-foundation.org, vdavydov@...tuozzo.com, tj@...nel.org,
mhocko@...e.cz, netdev@...r.kernel.org, linux-mm@...ck.org,
cgroups@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-team@...com
Subject: Re: [PATCH 05/14] net: tcp_memcontrol: protect all tcp_memcontrol
calls by jump-label
From: Johannes Weiner <hannes@...xchg.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@...xchg.org>
Acked-by: David S. Miller <davem@...emloft.net>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists