[PATCH] tmpfs initial work

Naoya Sugioka naoya.sugioka at gmail.com
Mon Dec 21 00:27:00 PST 2009


Hi Matt,

Thank you very much for the res.  I'm going to look into this.
-Naoya



thank you again,
-Naoya

On Sat, Dec 19, 2009 at 12:09 PM, Matthew Dillon
<dillon at apollo.backplane.com> wrote:
>
> :Hi,
> :
> :Now I'm trying to port NetBSD tmpfs to DragonFly, and I would like to
> :share my progress with community.
> :
> :The attached patch is ported from Current NetBSD to master by myself,
> :not the ones which post this mailing list before.
> :It should be similar, but many parts should be different from.
> :Please help me to finalize this tmpfs implementation, just apply the
> :patch to current master git then report any issues you found.
> :
> : - add new vop APIs (ncreate nresolve etc)
> : - passed initial test  mount, touch file, cp, ln, mknod ...
> :
> :todo:
> : - still need to develop some sysctl to get swap page totals
> :
> :question:
> :I see assertion error at kmalloc it say as following. Please give me
> :some clues for this.
> : panic: assertion: chunk->c_Next == NULL || ((intptr_t)chunk->c_Next &
> :INSAME_PAGE_MASK) == ))intptr_t)chunk & IN_SAME_PAGE_MASK) in kmalloc
> :mp_lock = 00000001; cpuid = 1
> :
> :thank you,
> :-Naoya
>
>    Definitely memory corruption.  You are either using memory after you
>    have freed it or you are using more memory then you allocated for
>    a particular chunk.
>
>                                                -Matt
>





More information about the Users mailing list