[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20121105135628.db79602c.akpm@linux-foundation.org>
Date: Mon, 5 Nov 2012 13:56:28 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Naoya Horiguchi <n-horiguchi@...jp.nec.com>
Cc: Tony Luck <tony.luck@...el.com>, Andi Kleen <andi.kleen@...el.com>,
Wu Fengguang <fengguang.wu@...el.com>,
Ingo Molnar <mingo@...e.hu>,
"Jun'ichi Nomura" <j-nomura@...jp.nec.com>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH 1/2 v2] HWPOISON: fix action_result() to print out
dirty/clean
On Fri, 2 Nov 2012 12:33:12 -0400
Naoya Horiguchi <n-horiguchi@...jp.nec.com> wrote:
> action_result() fails to print out "dirty" even if an error occurred on a
> dirty pagecache, because when we check PageDirty in action_result() it was
> cleared after page isolation even if it's dirty before error handling. This
> can break some applications that monitor this message, so should be fixed.
>
> There are several callers of action_result() except page_action(), but
> either of them are not for LRU pages but for free pages or kernel pages,
> so we don't have to consider dirty or not for them.
>
> Note that PG_dirty can be set outside page locks as described in commit
> 554940dc8c1e, so this patch does not completely closes the race window,
> but just narrows it.
I can find no commit 554940dc8c1e. What commit are you referring to here?
This is one of the reasons why we ask people to refer to commits by
both hash and by name, using the form
078de5f706ece3 ("userns: Store uid and gid values in struct cred with
kuid_t and kgid_t types")
--
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