[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140515063422.GB27773@mikrodark.usersys.redhat.com>
Date: Thu, 15 May 2014 08:34:22 +0200
From: Veaceslav Falico <vfalico@...il.com>
To: Alexei Starovoitov <alexei.starovoitov@...il.com>
Cc: David Laight <David.Laight@...lab.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Jay Vosburgh <j.vosburgh@...il.com>,
Andy Gospodarek <andy@...yhouse.net>,
Veaceslav Falico <vfalico@...hat.com>
Subject: Re: [PATCH net-next 0/5] bonding: simple macro cleanup
On Wed, May 14, 2014 at 09:10:33AM -0700, Alexei Starovoitov wrote:
>from compiler point of view it's actually easier to deal with inline functions
>than macros. I'd suggest to do the full conversion the other way around:
>convert all macros to static inline. Developers will enjoy better type safety
>and compiler will enjoy more opportunities to optimize code.
Ok, will move everything into inline functions.
Thanks for an interesting discussion :)
--
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