![]() | |||||||||||||
Messages in this thread |
In message <Pine.LNX.4.44.0210161015260.4683-100000@localhost.localdomain> you write:> On Wed, 16 Oct 2002, Rusty Russell wrote:> > If you do this, *please* add:> > /* Above check not sufficient if align of int < size. Break link. */> > But in any case, this should not matter these days, all we need is a > guarantee that the word is accessed atomically by the kernel when it reads > it, pure int alignment should be enough for that. Yes, this is true. I used to not do get_user() on the value (the page is pinned anyway), so it mattered. Sorry for the confusion, Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-03-22 12:30 [W:0.232 / U:0.120 seconds] ©2003-2008 Jasper Spaans | |||||||||||||