[Tux3] [PATCH 02/10] don't use preallocation if BUFFER_PARANOIA_DEBUG is defined

Daniel Phillips phillips at phunq.net
Mon Oct 20 01:27:50 PDT 2008


On Monday 20 October 2008 01:09, OGAWA Hirofumi wrote:
> Daniel Phillips <phillips at phunq.net> writes:
> > By coincidence, Tux3 University has lately been concentrating on exactly
> > the code we will be working with here.
> 
> Oh, is it talking about design too? Can I join to?

Of course you can, you don't need to ask.  Channel #tux3 on irc.oftc.net,
Tuesday and Thursday at 8 pm Pacific Time.

We consider only the design of the VFS and Linux kernel there, not the
design of Tux3, for now.

> >> >   - Spinlocks for VFS ops
> >> 
> >> Um.. what does this mean?
> >
> > Spinlocks are needed all over the place to serialize VFs operations
> > that would otherwise be racy with respect to Tux3 data structures.
> 
> Yes, e.g. the spinlock/mutex for btree? I thought it may be replacements
> of inode->i_mutex or something.

It was misleading of me to write "spinlocks for VFS ops" there, it
should just be "spinlocks where needed".  It may be, we don't need very
many, we do need to analyze every operation to be sure.

Regards,

Daniel

_______________________________________________
Tux3 mailing list
Tux3 at tux3.org
http://tux3.org/cgi-bin/mailman/listinfo/tux3



More information about the Tux3 mailing list