[PATCH v3 00/57] Scope-based Resource Management

Linus Torvalds torvalds at linux-foundation.org
Mon Jun 12 16:37:55 UTC 2023


On Mon, Jun 12, 2023 at 2:39 AM Peter Zijlstra <peterz at infradead.org> wrote:
>
> These are by no means 'complete' convertions, I've mostly focussed on functions
> that had 'goto' in them. Since that's a large part of why I started on all this.

So I found what looks like two patches being completely broken because
the conversion was fundamentally misguided.

And honestly, by the end of walking through the patches I was just
scanning so quickly that I might have missed some.

Let's make the rule be that

 - max 10 patches in the series so that I think they were actually
thought about, and people can actually review them

 - only clear "goto out of scope" conversions. When you see a
"continue" or a "goto repeat", you TAKE A BIG STEP BACK.

Because this is all clever, and I am now happy with the syntax, but I
am *not* happy with that 60-patch monster series with what looks like
horrible bugs.

             Linus



More information about the Linux-security-module-archive mailing list