msdosfs not MPSAFE
kostikbel at gmail.com
Fri Aug 10 12:42:56 UTC 2007
On Fri, Aug 10, 2007 at 01:54:48PM +1000, Bruce Evans wrote:
> I wrote yet another patch, with allocation on the stack so that no locking
> is required. This is simpler and doesn't require any new functions.
> Unfortunately, it is larger because it changes the interfaces for most
> functions. The interface changes are routine, so this is probably better.
> Note that 'struct dirent's are already allocated on the stack. This
> patch adds allocation of 'struct mbnambuf's which are slightly smaller
> (~256 bytes). I think this is just small enough for stack allocation.
I agree that this is the best approach. The size of the on-stack
structure still make me worry, although ~270 bytes seems to be not too
large for 3-pages stack.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bugs/attachments/20070810/014df119/attachment.pgp
More information about the freebsd-bugs