Re: [RFC PATCH 00/86] Make the kernel preemptible

From: Peter Zijlstra
Date: Wed Nov 08 2023 - 07:17:45 EST


On Wed, Nov 08, 2023 at 12:14:15PM +0100, Peter Zijlstra wrote:

> I would really suggest you start with transforming VOLUNTARY into the
> LAZY thing, keep it as simple and narrow as possible.

Possibly make it worse first, add LAZY as a fourth option, then show it
makes VOLUNTARY redundant, kill that.

> Once you've got that done, then you can try and argue that NONE makes no
> sense and try and take it out.

This also pushes out having to deal with the !PREEMPT archs until the
very last moment.

And once you're here, cond_resched() should be an obvious no-op function
and you can go delete them.

Anyway, as said, smaller steps more better. Nobody likes 86 patches in
their inbox in the morning (or at any time really).