[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wioAxtdJJejq08N3J3t=Qe47Tnii4H0fiYdgDwc8fpZHg@mail.gmail.com>
Date: Fri, 11 Mar 2022 15:45:45 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Barnabás Pőcze <pobrn@...tonmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Xiaomeng Tong <xiam0nd.tong@...il.com>,
Kees Cook <keescook@...omium.org>,
Jakob Koschel <jakobkoschel@...il.com>,
Arnd Bergmann <arnd@...db.de>
Subject: Re: [RFC PATCH v1 1/2] list: add type-safer list_head wrapper
On Fri, Mar 11, 2022 at 2:15 PM Barnabás Pőcze <pobrn@...tonmail.com> wrote:
>
> So, sorry to be this obtuse, but I gather the proposed interface
> is a no-go in all ways, shapes, and forms in your eyes?
Yeah, not with the limitation that it only works on global list heads.
We already have a lot of different list traversal things (rcu, safe,
hlist, continue-in-the-middle etc etc), and we clearly are going to
add a new set - but I don't want to add one that is so limited that it
only works for the simplest kind of list.
Linus
Powered by blists - more mailing lists