On Tue, 11 Jul 2006, Paul E. McKenney wrote:
> Looks sane to me. A couple of minor comments interspersed.
Okay, I'll submit it with a proper writeup.
> > +/*
> > + * SRCU notifier chain routines. Registration and unregistration
> > + * use a mutex, and call_chain is synchronized by SRCU (no locks).
> > + */
>
> Hmmm... Probably my just failing to pay attention, but haven't noticed
> the double-header-comment style before.
As far as I know, I made it up. It seemed appropriate, since the first
header applies to the entire group of three routines that follow whereas
the second header is kerneldoc just for the next function.
> > /*
> > - * Notifier chains are of three types:
> > + * Notifier chains are of four types:
>
> Is it possible to subsume one of the other three types?
>
> Might not be, but have to ask...
In principle we could replace blocking notifiers, but in practice we
can't.
We can't just substitute one for the other for two reasons: SRCU notifiers
need special initialization which the blocking notifiers don't have, and
SRCU notifiers have different time/space tradeoffs which might not be
appropriate for all existing blocking notifiers.
Alan Stern
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]