Re: owner field in `struct fs'

David Woodhouse (dwmw2@infradead.org)
Tue, 27 Jun 2000 10:05:49 +0100


prumpf@puffin.external.hp.com said:
> Actually, one rather nice side-effect of the grab-all-CPU's patch is
> you can get rid of try_inc_mod_count (at least if you keep your other
> locking structures sane). It always succeeds.

It's not obviously and immediately clear to me on first glance that it's
correct. Therefore, it's too complex for my liking. The current setup is
relatively easy for even a driver writer to understand and get right. As
soon as we start making them think, they'll find new and innovative ways to
screw up - in this case possibly by causing deadlocks.

--
dwmw2

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/