public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux•intel.com>
To: Miguel Ojeda <miguel.ojeda.sandonis@gmail•com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation•org>,
	Brendan Higgins <brendanhiggins@google•com>,
	Peter Zijlstra <peterz@infradead•org>,
	Alexey Dobriyan <adobriyan@gmail•com>,
	Miguel Ojeda <ojeda@kernel•org>,
	Mauro Carvalho Chehab <mchehab+huawei@kernel•org>,
	Herbert Xu <herbert@gondor•apana.org.au>,
	linux-kernel <linux-kernel@vger•kernel.org>,
	"open list:KERNEL SELFTEST FRAMEWORK" 
	<linux-kselftest@vger•kernel.org>,
	kunit-dev@googlegroups•com,
	Linux Media Mailing List <linux-media@vger•kernel.org>,
	Network Development <netdev@vger•kernel.org>,
	bpf <bpf@vger•kernel.org>,
	"Rafael J. Wysocki" <rafael@kernel•org>,
	Ingo Molnar <mingo@redhat•com>, Will Deacon <will@kernel•org>,
	Waiman Long <longman@redhat•com>,
	Boqun Feng <boqun.feng@gmail•com>,
	Sakari Ailus <sakari.ailus@linux•intel.com>,
	Laurent Pinchart <laurent.pinchart@ideasonboard•com>,
	Mauro Carvalho Chehab <mchehab@kernel•org>,
	Steven Rostedt <rostedt@goodmis•org>,
	Alexei Starovoitov <ast@kernel•org>,
	Daniel Borkmann <daniel@iogearbox•net>,
	Andrii Nakryiko <andrii@kernel•org>,
	Martin KaFai Lau <kafai@fb•com>, Song Liu <songliubraving@fb•com>,
	Yonghong Song <yhs@fb•com>,
	John Fastabend <john.fastabend@gmail•com>,
	KP Singh <kpsingh@kernel•org>, Thomas Graf <tgraf@suug•ch>,
	Andrew Morton <akpm@linux-foundation•org>,
	Jonathan Cameron <jic23@kernel•org>,
	Rasmus Villemoes <linux@rasmusvillemoes•dk>
Subject: Re: [PATCH v1 3/3] kernel.h: Split out container_of() and typeof_memeber() macros
Date: Thu, 7 Oct 2021 13:00:36 +0300	[thread overview]
Message-ID: <YV7FREwrt4auntWs@smile.fi.intel.com> (raw)
In-Reply-To: <YV67+vrn3MxpXABy@smile.fi.intel.com>

On Thu, Oct 07, 2021 at 12:20:58PM +0300, Andy Shevchenko wrote:
> On Tue, Jul 13, 2021 at 08:39:22PM +0200, Miguel Ojeda wrote:
> > On Tue, Jul 13, 2021 at 1:23 PM Greg Kroah-Hartman
> > <gregkh@linuxfoundation•org> wrote:
> > >
> > > Life is messy and can not easily be partitioned into tiny pieces.  That
> > > way usually ends up being even messier in the end...
> > 
> > I agree measurements would be ideal.
> > 
> > Having said that, even if it makes no performance difference, I think
> > it is reasonable to split things (within reason) and makes a bunch of
> > other things easier, plus sometimes one can enforce particular
> > conventions in the separate header (like I did when introducing
> > `compiler_attributes.h`).
> 
> It does almost 2% (steady) speedup. I will send a v2 with methodology
> and numbers of testing.

Seems it's slightly different Cc list, so TWIMC the v2 is here:
https://lore.kernel.org/linux-media/20211007095129.22037-5-andriy.shevchenko@linux.intel.com/T/#u

-- 
With Best Regards,
Andy Shevchenko



  reply	other threads:[~2021-10-07 10:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-13  8:45 [PATCH v1 1/3] kernel.h: Don't pollute header with single user macros Andy Shevchenko
2021-07-13  8:45 ` [PATCH v1 2/3] kernel.h: Drop unneeded <linux/kernel.h> inclusion from other headers Andy Shevchenko
2021-07-13  8:45 ` [PATCH v1 3/3] kernel.h: Split out container_of() and typeof_memeber() macros Andy Shevchenko
2021-07-13 10:37   ` Greg Kroah-Hartman
2021-07-13 11:16     ` Andy Shevchenko
2021-07-13 11:23       ` Greg Kroah-Hartman
2021-07-13 12:19         ` Herbert Xu
2021-07-13 12:45           ` Andy Shevchenko
2021-07-13 13:58             ` David Laight
2021-07-13 18:39         ` Miguel Ojeda
2021-10-07  9:20           ` Andy Shevchenko
2021-10-07 10:00             ` Andy Shevchenko [this message]
2021-10-07 15:39             ` Miguel Ojeda
2021-10-07 15:55               ` Andy Shevchenko
2021-07-13 12:38 ` [PATCH v1 1/3] kernel.h: Don't pollute header with single user macros Peter Zijlstra
2021-07-13 12:42   ` Andy Shevchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YV7FREwrt4auntWs@smile.fi.intel.com \
    --to=andriy.shevchenko@linux$(echo .)intel.com \
    --cc=adobriyan@gmail$(echo .)com \
    --cc=akpm@linux-foundation$(echo .)org \
    --cc=andrii@kernel$(echo .)org \
    --cc=ast@kernel$(echo .)org \
    --cc=boqun.feng@gmail$(echo .)com \
    --cc=bpf@vger$(echo .)kernel.org \
    --cc=brendanhiggins@google$(echo .)com \
    --cc=daniel@iogearbox$(echo .)net \
    --cc=gregkh@linuxfoundation$(echo .)org \
    --cc=herbert@gondor$(echo .)apana.org.au \
    --cc=jic23@kernel$(echo .)org \
    --cc=john.fastabend@gmail$(echo .)com \
    --cc=kafai@fb$(echo .)com \
    --cc=kpsingh@kernel$(echo .)org \
    --cc=kunit-dev@googlegroups$(echo .)com \
    --cc=laurent.pinchart@ideasonboard$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-kselftest@vger$(echo .)kernel.org \
    --cc=linux-media@vger$(echo .)kernel.org \
    --cc=linux@rasmusvillemoes$(echo .)dk \
    --cc=longman@redhat$(echo .)com \
    --cc=mchehab+huawei@kernel$(echo .)org \
    --cc=mchehab@kernel$(echo .)org \
    --cc=miguel.ojeda.sandonis@gmail$(echo .)com \
    --cc=mingo@redhat$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=ojeda@kernel$(echo .)org \
    --cc=peterz@infradead$(echo .)org \
    --cc=rafael@kernel$(echo .)org \
    --cc=rostedt@goodmis$(echo .)org \
    --cc=sakari.ailus@linux$(echo .)intel.com \
    --cc=songliubraving@fb$(echo .)com \
    --cc=tgraf@suug$(echo .)ch \
    --cc=will@kernel$(echo .)org \
    --cc=yhs@fb$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox