Re: [PATCH] rw_semaphores, optimisations try #3

David Howells
2001-04-24T16:37:49Z

Linus Torvalds <torvalds@transmeta.com> wrote:
> - nobody will look up the list because we do have the spinlock at this
> point, so a destroyed list doesn't actually _matter_ to anybody

I suppose that it'll be okay, provided I take care not to access a block for a
task I've just woken up.

> - list_remove_between() doesn't care about the integrity of the entries
> it destroys. It only uses, and only changes, the entries that are still
> on the list.

True. Okay, I can change it to use that.

David