[PATCH] tmpfs initial work

Naoya Sugioka naoya.sugioka at gmail.com
Fri Dec 18 15:38:22 PST 2009


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
Attachment:
0001-tmpfs-initial-work.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00000.bin
Type: application/octet-stream
Size: 145651 bytes
Desc: "Description: Binary data"
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20091218/59345fa6/attachment-0015.bin>


More information about the Users mailing list