Re: Linux 2.6.26-rc7

From: Jeff Chua
Date: Mon Jun 23 2008 - 11:18:26 EST


On Mon, Jun 23, 2008 at 12:29 AM, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> Hmm. Can you see which part of it broke? Was it the "fix XIP" part ot the
> ZERO_PAGE part? The easiest way to test is to apply this patch, and see
> (it just disables the XIP part of fix)

This one doesn't fix it.

Thanks,
Jeff.

> ---
> mm/memory.c | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/mm/memory.c b/mm/memory.c
> index 9aefaae..9056132 100644
> --- a/mm/memory.c
> +++ b/mm/memory.c
> @@ -1023,8 +1023,12 @@ out:
> return page;
>
> bad_page:
> +#if 0
> pte_unmap_unlock(ptep, ptl);
> return ERR_PTR(-EFAULT);
> +#else
> + return NULL;
> +#endif
>
> no_page:
> pte_unmap_unlock(ptep, ptl);
>
--
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/