Messages in this thread |  | | | Date | Mon, 23 Jun 2008 23:18:09 +0800 | | From | "Jeff Chua" <> | | Subject | Re: Linux 2.6.26-rc7 | |
On Mon, Jun 23, 2008 at 12:29 AM, Linus Torvalds
<torvalds@linux-foundation.org> 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);
>
|  |