Re: [PATCH] cred - synchronize rcu before releasing cred

From: David Howells
Date: Wed Jul 28 2010 - 08:47:30 EST


David Howells <dhowells@xxxxxxxxxx> wrote:

> Yeah. I think there are three alternatives:

There's a fourth alternative too:

(4) I could try and make it so that if the RCU cleanup routine sees it with a
non-zero usage count, then it just ignores it. This, however, would
require call_rcu() to be able to cope with requeueing.

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