Re: owner field in `struct fs'

From: Alexander Viro (viro@math.psu.edu)
Date: Mon Jun 26 2000 - 11:13:38 EST


On Mon, 26 Jun 2000, Philipp Rumpf wrote:

> Sorry, what I meant was no one disagrees the old way of doing things (i.e.
> MOD_INC_USE_COUNT in open(), MOD_DEC_USE_COUNT in release() without any
> further protection) was broken. Your way works fine and doesn't even

Oh, sure. _That_ is definitely a total crap and needs to be fixed. I think
that we will be much safer with protecting all accesses that way, not only
function calls - data fields of net_device are also used with zero counter
and IMO having the refcount protection will make things much harder to
fuck up...

-
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/



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:09 EST