This linked list implementation is partially based on kernel code. So it
should be quite stable
Signed-off-by: Alexey Korolev
---
src/util.h | 21 +
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/src/util.h b/src/util.h
index 70d3c4c..17df3cf 100644
--- a/s
On 03/28/12 06:28, Alexey Korolev wrote:
> This linked list implementation is partially based on kernel code. So it
> should be quite stable
How about just copying the file?
I've used the linux kernel list implementation elsewhere too and it
worked just fine with only minor tweaks (remove some li
>> This linked list implementation is partially based on kernel code. So it
>> should be quite stable
> How about just copying the file?
>
> I've used the linux kernel list implementation elsewhere too and it
> worked just fine with only minor tweaks (remove some likely()/unlikely()
> macros IIRC)
On Wed, Mar 28, 2012 at 04:39:07PM +0200, Gerd Hoffmann wrote:
> On 03/28/12 06:28, Alexey Korolev wrote:
> > This linked list implementation is partially based on kernel code. So it
> > should be quite stable
>
> How about just copying the file?
>
> I've used the linux kernel list implementation
On Wed, 2012-03-28 at 22:27 -0400, Kevin O'Connor wrote:
> On Wed, Mar 28, 2012 at 04:39:07PM +0200, Gerd Hoffmann wrote:
> > On 03/28/12 06:28, Alexey Korolev wrote:
> > > This linked list implementation is partially based on kernel code. So it
> > > should be quite stable
> >
> > How about just