Messages in this thread | ![/](/images/icornerl.gif) | | Date | Thu, 27 Aug 2020 18:56:05 +0200 | From | peterz@infradea ... | Subject | Re: [RFC][PATCH 6/7] freelist: Lock less freelist |
| |
On Thu, Aug 27, 2020 at 12:49:20PM -0400, Cameron wrote: > For what it's worth, the freelist.h code seems to be a faithful adaptation > of my original blog post code. Didn't think it would end up in the Linux > kernel one day :-)
Hehe, I ran into the traditional ABA problem for the lockless stack and asked google, your blog came up.
I'll try and actually think about it a little when the current (virtual) conference is over.
Are you Ok with the License I put on it, GPLv2 or BDS-2 ?
> I'm just wondering if the assumption that "nodes are never freed until > after the free list is destroyed" will hold true in the intended use case?
It does, the nodes are only deleted once the whole freelist object is discarded.
| ![\](/images/icornerr.gif) |