Date: Wed, 09 Jun 2004 12:34:31 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: phk@phk.freebsd.dk Cc: bmilekic@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_proc.c Message-ID: <20040609.123431.122061053.imp@bsdimp.com> In-Reply-To: <57449.1086805667@critter.freebsd.dk> References: <20040609.121919.18287197.imp@bsdimp.com> <57449.1086805667@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <57449.1086805667@critter.freebsd.dk> "Poul-Henning Kamp" <phk@phk.freebsd.dk> writes: : In message <20040609.121919.18287197.imp@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? Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040609.123431.122061053.imp>