SMPTODO: remove timeout(9) from ffs_softdep.c
Coleman Kane
cokane at cokane.org
Wed Mar 12 12:05:05 UTC 2008
Hi all,
I was poking around SMPTODO for some work during an idle night, and I
decided to fix the non-MPSAFE use of timeout(9) in ffs_softdep.c, and
learn more about the callout_* API in the kernel. I'm attaching a patch
of what I've done, which I am running in my current kernel at the moment
(and I am using softupdates on a number of filesystems on this SMP machine).
Can anyone else try it out / review it / give feedback?
--
Coleman Kane
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffs_softdep.c-newcallout.diff
Type: text/x-patch
Size: 2709 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20080312/5d8f3dfa/ffs_softdep.c-newcallout.bin
More information about the freebsd-arch
mailing list