Re: [patch] x86: optimise page fault entry

Ingo Molnar
2009-01-21T20:37:31Z

* Johannes Weiner <hannes@cmpxchg.org> wrote:

> --- a/arch/x86/mm/fault.c
> +++ b/arch/x86/mm/fault.c
> @@ -419,7 +419,6 @@ static noinline void pgtable_bad(struct
> printk(KERN_ALERT "%s: Corrupted page table at address %lx\n",
> tsk->comm, address);
> dump_pagetable(address);
> - tsk = current;
> tsk->thread.cr2 = address;
> tsk->thread.trap_no = 14;
> tsk->thread.error_code = error_code;

applied to tip/x86/mm, thanks Johannes!

Ingo