Re: get_user_pages vs mmap MAP_FIXED bug

From: Andrew Morton
Date: Sun May 06 2007 - 23:24:37 EST


On Mon, 07 May 2007 11:26:44 +1000 Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote:

> On Sun, 2007-05-06 at 17:01 +1000, Rusty Russell wrote:
> > This bug is in 2.6.21-rc7-mm2, but not 2.6.21. Haven't tested
> > 2.6.21-mm1 yet.
>
> OK, 2.6.21-mm1 fails too. 2.6.21-git6 ... is fine.
>
> Here's a standalone test using ptrace. No kernel module req'd.
>
> rusty@debussy:~/linux-2.6.21-mm1$ ../examiner
> ptrace says 0, child says 0x464c457f

thanks.

> Any clues Andrew? Or should I take your patches and do a binary search?

I've been assuming that Nick's vm_operations.fault changes have broken
get_user_pages()'s manual faulting. The next step is to wait for Nick to
turn up.

-
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/