Re: [PATCH v2] sched,livepatch: Untangle cond_resched() and live-patching

2025-05-14 Thread Peter Zijlstra
On Wed, May 14, 2025 at 11:51:44AM +0200, Petr Mladek wrote: > IMHO, it might be easier when it goes via tip. Peter, feel free to > take it. Done! > Reviewed-by: Petr Mladek > Tested-by: Petr Mladek For some reason b4 didn't pick up these tags, added them manually and force pushed it again.

Re: [PATCH v2] sched,livepatch: Untangle cond_resched() and live-patching

2025-05-14 Thread Thomas Gleixner
On Fri, May 09 2025 at 13:36, Sebastian Andrzej Siewior wrote: > From: Peter Zijlstra > > With the goal of deprecating / removing VOLUNTARY preempt, live-patch > needs to stop relying on cond_resched() to make forward progress. > > Instead, rely on schedule() with TASK_FREEZABLE set. Just like > l

Re: [PATCH v2] sched,livepatch: Untangle cond_resched() and live-patching

2025-05-14 Thread Petr Mladek
On Tue 2025-05-13 15:34:50, Miroslav Benes wrote: > On Fri, 9 May 2025, Sebastian Andrzej Siewior wrote: > > > From: Peter Zijlstra > > > > With the goal of deprecating / removing VOLUNTARY preempt, live-patch > > needs to stop relying on cond_resched() to make forward progress. > > > > Instead

Re: [PATCH v2] sched,livepatch: Untangle cond_resched() and live-patching

2025-05-14 Thread Petr Mladek
On Tue 2025-05-13 16:05:51, Miroslav Benes wrote: > On Tue, 13 May 2025, Peter Zijlstra wrote: > > > On Tue, May 13, 2025 at 03:34:50PM +0200, Miroslav Benes wrote: > > > Hi, > > > > > > thanks for the updated version. > > > > > > On Fri, 9 May 2025, Sebastian Andrzej Siewior wrote: > > > > > >

Re: [PATCH v2] sched,livepatch: Untangle cond_resched() and live-patching

2025-05-13 Thread Josh Poimboeuf
On Fri, May 09, 2025 at 01:36:59PM +0200, Sebastian Andrzej Siewior wrote: > From: Peter Zijlstra > > With the goal of deprecating / removing VOLUNTARY preempt, live-patch > needs to stop relying on cond_resched() to make forward progress. > > Instead, rely on schedule() with TASK_FREEZABLE set.

Re: [PATCH v2] sched,livepatch: Untangle cond_resched() and live-patching

2025-05-13 Thread Peter Zijlstra
On Tue, May 13, 2025 at 03:34:50PM +0200, Miroslav Benes wrote: > Hi, > > thanks for the updated version. > > On Fri, 9 May 2025, Sebastian Andrzej Siewior wrote: > > > From: Peter Zijlstra > > > > With the goal of deprecating / removing VOLUNTARY preempt, live-patch > > needs to stop relying

Re: [PATCH v2] sched,livepatch: Untangle cond_resched() and live-patching

2025-05-13 Thread Miroslav Benes
On Tue, 13 May 2025, Peter Zijlstra wrote: > On Tue, May 13, 2025 at 03:34:50PM +0200, Miroslav Benes wrote: > > Hi, > > > > thanks for the updated version. > > > > On Fri, 9 May 2025, Sebastian Andrzej Siewior wrote: > > > > > From: Peter Zijlstra > > > > > > With the goal of deprecating / r

Re: [PATCH v2] sched,livepatch: Untangle cond_resched() and live-patching

2025-05-13 Thread Miroslav Benes
Hi, thanks for the updated version. On Fri, 9 May 2025, Sebastian Andrzej Siewior wrote: > From: Peter Zijlstra > > With the goal of deprecating / removing VOLUNTARY preempt, live-patch > needs to stop relying on cond_resched() to make forward progress. > > Instead, rely on schedule() with TA