Re: [PATCH -tip 19/32] entry/idle: Enter and exit kernel protection during idle entry and exit

2020-12-01 Thread Joel Fernandes
On Wed, Nov 25, 2020 at 09:49:08AM +0100, Peter Zijlstra wrote: > On Tue, Nov 24, 2020 at 01:03:43PM -0500, Joel Fernandes wrote: > > On Tue, Nov 24, 2020 at 05:13:35PM +0100, Peter Zijlstra wrote: > > > On Tue, Nov 17, 2020 at 06:19:49PM -0500, Joel Fernandes (Google) wrote: > > > > > +static

Re: [PATCH -tip 19/32] entry/idle: Enter and exit kernel protection during idle entry and exit

2020-11-25 Thread Peter Zijlstra
On Tue, Nov 24, 2020 at 01:03:43PM -0500, Joel Fernandes wrote: > On Tue, Nov 24, 2020 at 05:13:35PM +0100, Peter Zijlstra wrote: > > On Tue, Nov 17, 2020 at 06:19:49PM -0500, Joel Fernandes (Google) wrote: > > > +static inline void generic_idle_enter(void) > > > +static inline void

Re: [PATCH -tip 19/32] entry/idle: Enter and exit kernel protection during idle entry and exit

2020-11-24 Thread Joel Fernandes
On Tue, Nov 24, 2020 at 05:13:35PM +0100, Peter Zijlstra wrote: > On Tue, Nov 17, 2020 at 06:19:49PM -0500, Joel Fernandes (Google) wrote: > > Add a generic_idle_{enter,exit} helper function to enter and exit kernel > > protection when entering and exiting idle, respectively. > > > > While at it,

Re: [PATCH -tip 19/32] entry/idle: Enter and exit kernel protection during idle entry and exit

2020-11-24 Thread Peter Zijlstra
On Tue, Nov 17, 2020 at 06:19:49PM -0500, Joel Fernandes (Google) wrote: > Add a generic_idle_{enter,exit} helper function to enter and exit kernel > protection when entering and exiting idle, respectively. > > While at it, remove a stale RCU comment. > > Reviewed-by: Alexandre Chartre >

[PATCH -tip 19/32] entry/idle: Enter and exit kernel protection during idle entry and exit

2020-11-17 Thread Joel Fernandes (Google)
Add a generic_idle_{enter,exit} helper function to enter and exit kernel protection when entering and exiting idle, respectively. While at it, remove a stale RCU comment. Reviewed-by: Alexandre Chartre Tested-by: Julien Desfossez Signed-off-by: Joel Fernandes (Google) ---