On Sun, Jan 17, 2010 at 07:44:57AM -0500, Christoph Hellwig wrote: > On Sun, Jan 17, 2010 at 02:41:42PM +0200, Gleb Natapov wrote: > > I copied code from the instead of using helper faction for > > some unknown to me reason. Anyway if I can't get struct page from > > user virtual address I can't use it. Actually I am not sure the page > > should be zeroed at all. Spec only descries first dword of the page and > > doesn't require zeroing the reset as far as I see. > > There's a clear_user() function that just takes a user virtual address > and a size. Precisely what I need. Thanks! -- Gleb. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html