In article <trinity-286f8fb9-ca13-44b1-98d1-8563499c99d4-1434647933661@3capp-mailcom-bs15>, Kamil Rytarowski <n...@gmx.com> wrote: >-=-=-=-=-=- > >I'm attaching a proposition of locking(9). > >It was inspired by: >http://leaf.dragonflybsd.org/cgi/web-man?command=locking§ion=ANY >https://www.freebsd.org/cgi/man.cgi?query=locking%289%29 > >And by this page: >http://www.feyrer.de/NetBSD/bx/blosxom.cgi/nb_20080409_0027.html > >I included some extra notes about the kernel design and contexts: >- thread context vs softirq context vs hardirq context, >- process vs kernel thread (LWP), >- top kernel half vs bottom kernel half. > >These details might be off topic, but I need them to understand the >overall design and the internal flow.
That's very nice. I would like to include information on what is the typical use for each one and also which ones are obsolete. I also think that *tsleep should be included in the docs (at least saying that it has been replaced by condvars). christos