Re: [RFC][PATCH] HWPOISON: remove the unsafe __set_page_locked()

Andi Kleen
2009-09-26T15:05:56Z

> However we may well end up to accept the fact that "we just cannot do
> hwpoison 100% correct", and settle with a simple and 99% correct code.

I would prefer to avoid any oopses, but if they are unlikely enough
and too hard to fix that's bearable. The race window here is certainly rather
small.

On the other hand if you cannot detect a difference in benchmarks I see
no reason not to add the additional steps, as long as the code isn't
complicated or ugly. These changes are neither.

-Andi
--
ak@linux.intel.com -- Speaking for myself only.