l4-hurd@gnu.org
[Top] [All Lists]

Re: a bug of the slab implementation in viengoos?

Subject: Re: a bug of the slab implementation in viengoos?
From: Ludovic Courtès
Date: Mon, 31 May 2010 18:20:48 +0200
Hi,

Da Zheng <zhengda1936@xxxxxxxxx> writes:

> I recently ported the slab implementation in viengoos to Hurd. It seems that 
> the
> refcount field of hurd_slab isn't initialized when it is created in grow(). 
> here
> is the patch to fix it.

Normally âallocate_bufferâ creates an anonymous mapping with âmmapâ,
which is zeroed on GNU systems (info "(libc) Memory-mapped I/O"), so
that shouldnât be needed.

Thanks,
Ludoâ.


<Prev in Thread] Current Thread [Next in Thread>