Re: porting tmpfs

看板DFBSD_kernel作者時間16年前 (2009/11/14 20:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
Good to hear from you again! > Also I don=92t understand why Alex Hornung has removed tmpfs_spec_vnops. > Without adding this ops call to mknod() ends with panic. (I have to > run fsstress with option =93=96f mknod=3D0=94.) In short, because of devfs. mknod is not needed, and shouldn't be used, as nodes created with it won't work anyways. > Next I tried to use objcache instead of plain kmalloc() to allocate > tmpfs nodes and direntries. =A0But when objcache is destroyed during > unmount, there is a crit_panic "td_pri is/would-go negative! -26" > caused by mag_purge() calling crit_exit() at objcache.c. It seems that > mag_purge() is not called from the critical section as it is expected.
文章代碼(AID): #1A_fm2Oj (DFBSD_kernel)
文章代碼(AID): #1A_fm2Oj (DFBSD_kernel)