Messages in this thread | | | Date | Mon, 12 Dec 2011 18:32:58 +0800 | Subject | Re: [PATCH 3/3] kref: Remove the memory barriers | From | Ming Lei <> |
| |
On Mon, Dec 12, 2011 at 6:12 PM, Peter Zijlstra <peterz@infradead.org> wrote:
> I don't know the driver model, and I don't plan to start learning it > now. But if what you said is possible its broken and no memory barriers > will fix it.
IMO, you don't need to learn it, and my example is very simple and common kref usage in device drivers, :-)
Could we only focus on it and see what is problem? and why won't memory barrier fix it?
Anyway, device drivers are the most consumers of kref...
thanks, -- Ming Lei
| |