cvs commit: src/sys/kern kern_proc.c
M. Warner Losh
imp at bsdimp.com
Wed Jun 9 18:35:38 GMT 2004
In message: <57449.1086805667 at critter.freebsd.dk>
"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
: In message <20040609.121919.18287197.imp at bsdimp.com>, "M. Warner Losh" writes:
: >We should document how to do refcounting. Either from a atomic point
: >of view (which has issues) or from the mutex point of view (which also
: >has issues).
: >I think that everyone agrees on that.
: Better yet: we should find some good CS-101 references for people
: to read.
This isn't a cs-101 question. locking generally doesn't get covered
until the second year.
However, known bad examples can do nothing but help. Why are you so
resistant to documenting for people the right way to do stuff?
More information about the cvs-src