Re: [PATCH 04/11] ipc: move locking out of ipcctl_pre_down_nolock

From: Andrew Morton
Date: Fri May 24 2013 - 18:30:01 EST


On Fri, 24 May 2013 15:21:36 -0700 Davidlohr Bueso <davidlohr.bueso@xxxxxx> wrote:

> >
> > Where should readers go to understand the overall locking scheme? A
> > description of the overall object hierarchy and the role which the
> > various locks play?
>
> That can be done, how about something like
> Documentation/ipc-locking.txt?

I find that code comments at definition sites work better, if possible.
Standalone documentation ends up being too verbose and never gets
updated or read...

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/