Re: [PATCH 3/4] Check whether pages are poisoned before copying
From: Andi Kleen
Date: Thu Mar 17 2011 - 11:26:06 EST
> 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.
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/