panic("boring") was: Re: cvs commit: src/sys/kern kern_proc.c
Mike Silbersack
silby at silby.com
Wed Jun 9 19:06:49 GMT 2004
On Wed, 9 Jun 2004, Pawel Jakub Dawidek wrote:
> +> > (thread2 sets ref_cnt to 0, but thread1 destroys objects) we free object
> +> > only once. Cool, I like it:)
> +>
> +> the reference count must never be read or written after the [cleanup]
> +> because it may free the page on which teh counter is kept.
>
> Right... Nice catch. So Bosko probebly have to rethink his model.
Due to the length and unimportance of this thread, I officially dub it:
"Locking the Bikeshed"
Well, at least we're done painting it...
Mike "Silby" Silbersack
More information about the cvs-src
mailing list