[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180725143046.74ee1238493e3b4aef57e72e@linux-foundation.org>
Date: Wed, 25 Jul 2018 14:30:46 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Davidlohr Bueso <dave@...olabs.net>
Cc: jbaron@...mai.com, viro@...iv.linux.org.uk,
linux-kernel@...r.kernel.org, Davidlohr Bueso <dbueso@...e.de>
Subject: Re: [PATCH -next] fs/epoll: simply CONFIG_NET_RX_BUSY_POLL ifdefery
On Wed, 25 Jul 2018 13:06:33 -0700 Davidlohr Bueso <dave@...olabs.net> wrote:
> >> +#else
> >> +#define ep_busy_loop(ep, nonblock) do { } while (0)
> >> +#define ep_reset_busy_poll_napi_id(ep) do { } while (0)
> >> +#define ep_set_busy_poll_napi_id(epi) do { } while (0)
> >> +
> >> +#endif /* CONFIG_NET_RX_BUSY_POLL */
> >
> >inlines are preferred. Because macros are fugly and can cause
> >unused-var warnings when the stub versions are used.
>
> Fair enough.
>
> >This?
>
> Do you want me to send a v2 or will you fold in the below?
I queued both patches.
Powered by blists - more mailing lists