[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110317152559.GG11094@one.firstfloor.org>
Date: Thu, 17 Mar 2011 16:25:59 +0100
From: Andi Kleen <andi@...stfloor.org>
To: Andrea Arcangeli <aarcange@...hat.com>
Cc: Hidetoshi Seto <seto.hidetoshi@...fujitsu.com>,
Andi Kleen <andi@...stfloor.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Huang Ying <ying.huang@...el.com>,
Jin Dongming <jin.dongming@...css.fujitsu.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/4] Check whether pages are poisoned before copying
> isn't 100% correct and probably it's impossible to make it 100%
> correct across the whole kernel (for example the compound_head is safe
> for THP but it's still unsafe for hugetlbfs while the page is being
> tear down), so it's probably ok that it tends to work in practice 100%
I would like to fix known oopses in the existing paths, so that should
be probably fixed.
> reliably when the task is running in userland but we leave holes when
> kernel is mangling the page structures and moving stuff around,
> otherwise we litter the kernel code without much practical benefit, I
> guess KSM has the same issues of khugepaged for example.
We measured KSM some time ago on some simple workloads (a couple
of window guests) and it turned out that KSM memory tends to be
only a very small fraction of total physical memory. So it was
deemed not very important for hwpoison.
-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