[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101007073848.GG5010@basil.fritz.box>
Date: Thu, 7 Oct 2010 09:38:48 +0200
From: Andi Kleen <andi@...stfloor.org>
To: Naoya Horiguchi <n-horiguchi@...jp.nec.com>
Cc: Andi Kleen <andi@...stfloor.org>, linux-kernel@...r.kernel.org,
fengguang.wu@...el.com, linux-mm@...ck.org,
Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH 3/4] HWPOISON: Report correct address granuality for AO
huge page errors
On Thu, Oct 07, 2010 at 09:31:20AM +0900, Naoya Horiguchi wrote:
> > @@ -198,7 +199,8 @@ static int kill_proc_ao(struct task_struct *t, unsigned long addr, int trapno,
> > #ifdef __ARCH_SI_TRAPNO
> > si.si_trapno = trapno;
> > #endif
> > - si.si_addr_lsb = PAGE_SHIFT;
> > + order = PageCompound(page) ? huge_page_order(page) : PAGE_SHIFT;
> ^^^^
> huge_page_order(page_hstate(page)) ?
Ok.
> > printk(KERN_ERR
> > "MCE %#lx: forcibly killing %s:%d because of failure to unmap corrupted page\n",
> > - pfn, tk->tsk->comm, tk->tsk->pid);
> > + pfn,
> > + tk->tsk->comm, tk->tsk->pid);
>
> What's the point of this change?
Probably left over from an earlier version; I will drop that hunk thanks.
-Andi
--
ak@...ux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists