On Wed, Oct 31, 2012 at 10:51:55PM +0900, Mitsuhiro Tanino wrote: > Hi Vivek, > > (2012/10/30 23:37), Vivek Goyal wrote: > > Why to introduce this option "-p"? Until and unless there are serious > > side effects, this should be default functionality. Isn't it? Who would > > like to touch/save poisoned pages and run into MCE? > > Thank you for your review of my patch. > > In my understanding, hwpoison is a function which is only supported at > high end servers and most of users do not use this function. > Therefore, I think this functionality was better for option. If hwpoision functionality is not available in hardware, then respective bit will not be even set in struct page and it will be saved by default. So it should not matter whether hardware has hwpoision functionality or not. > > On the other hand, as you say, nobody wants to touch/save poisoned pages > and run into MCE, and it is desirable for users to exclude hwpoison pages > automatically. I agree with you. > > I will post fixed patch without "-p" option. Please help to review it. I think that removing hwpoisno pages by default makes sense. If somebody does have a reasonable case of not doing so, then we could either introduce anther filtering level (based on type) or add another command line option like (--no-hwposion-filtering) etc. Thanks Vivek