Re: mm/hwpoison: fix wrong num_poisoned_pages account

2016-04-04 Thread Naoya Horiguchi
our fault) the put_page() preceding > > > > test_set_page_hwpoison(page)) IMHO deserves a comment saying which > > > > pin we are releasing and which one we still have (hopefully? if I > > > > read description of da1b13ccfbebe right) otherwise it looks like > &

mm/hwpoison: fix wrong num_poisoned_pages account

2016-04-03 Thread Minchan Kim
> doing something with a page that we just potentially freed. > > > > Yes, while I read the code, I had same question. I think the releasing > > refcount is for get_any_page. > > As the other callers of page migration do, soft_offline_page expects the > mig