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

[PATCH] tmpfs initial work

From: Naoya Sugioka <naoya.sugioka@xxxxxxxxx>
Date: Fri, 18 Dec 2009 15:24:21 -0800


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,

Attachment: 0001-tmpfs-initial-work.patch
Description: Binary data

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