DragonFly BSD
DragonFly users List (threaded) for 2009-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [PATCH] tmpfs initial work

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 19 Dec 2009 12:09:07 -0800 (PST)

: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 ...
: - still need to develop some sysctl to get swap page totals
: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,

    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.


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]