Messages in this thread | | | From | Linus Torvalds <> | Date | Fri, 11 Mar 2022 15:45:45 -0800 | 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@protonmail.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
| |