Re: [PATCH v3 01/16] mm: use put_page to free page instead of putback_lru_page

2016-04-05 Thread Naoya Horiguchi
On Tue, Apr 05, 2016 at 10:20:50AM +0200, Vlastimil Babka wrote: > On 04/05/2016 03:54 AM, Naoya Horiguchi wrote: > > On Mon, Apr 04, 2016 at 04:46:31PM +0200, Vlastimil Babka wrote: > >> On 04/04/2016 06:45 AM, Naoya Horiguchi wrote: > >>> On Mon, Apr 04, 2016 at

Re: [PATCH v3 01/16] mm: use put_page to free page instead of putback_lru_page

2016-04-04 Thread Naoya Horiguchi
On Mon, Apr 04, 2016 at 04:46:31PM +0200, Vlastimil Babka wrote: > On 04/04/2016 06:45 AM, Naoya Horiguchi wrote: > > On Mon, Apr 04, 2016 at 10:39:17AM +0900, Minchan Kim wrote: ... > >>> > >>> Also (but not your fault) the put_page() preceding > >>>

Re: mm/hwpoison: fix wrong num_poisoned_pages account

2016-04-04 Thread Naoya Horiguchi
On Mon, Apr 04, 2016 at 02:38:30PM +0900, Minchan Kim wrote: > > Forking new thread, > > Hello Naoya, > > On Mon, Apr 04, 2016 at 04:45:12AM +0000, Naoya Horiguchi wrote: > > On Mon, Apr 04, 2016 at 10:39:17AM +0900, Minchan Kim wrote: > > > On Fri, Apr 01, 20

Re: [PATCH v3 01/16] mm: use put_page to free page instead of putback_lru_page

2016-04-04 Thread Naoya Horiguchi
ation is successful, use put_page instead of putback_lru_page and > > >use putback_lru_page only on failure. That makes code more readable > > >and doesn't add overhead in put_page. > > > > > >Comment from Vlastimil > > >&qu