Hugh Dickins wrote: > On Tue, 2 Aug 2005, Linus Torvalds wrote: > >>Go for it, I think whatever we do won't be wonderfully pretty. > > > Here we are: get_user_pages quite untested, let alone the racy case, > but I think it should work. Please all hack it around as you see fit, > I'll check mail when I get home, but won't be very responsive... > Seems OK to me. I don't know why you think handle_mm_fault can't be inline, but if it can be, then I have a modification attached that removes the condition - any good? Oh, it gets rid of the -1 for VM_FAULT_OOM. Doesn't seem like there is a good reason for it, but might that break out of tree drivers? -- SUSE Labs, Novell Inc.