[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120122.143556.1031473969223729555.davem@davemloft.net>
Date: Sun, 22 Jan 2012 14:35:56 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: glommer@...allels.com
Cc: linux-kernel@...r.kernel.org, kamezawa.hiroyu@...fujitsu.com,
netdev@...r.kernel.org, eric.dumazet@...il.com,
cgroups@...r.kernel.org
Subject: Re: [PATCH 1/3] net: fix socket memcg build with !CONFIG_NET
From: Glauber Costa <glommer@...allels.com>
Date: Sat, 21 Jan 2012 18:17:26 +0400
> I am not removing the static branch. This is just a macro, that
> expands to the static branch when the options are in place, and to 0
> if they are not.
>
> if (0) { } is certainly be removed to the compiler, so the code is out
> anyway.
That's rather non-intuitive, oh well.
I'll apply this, but all of this stuff is an ifdef mess.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists