Re: [PATCH] mm/memory-failure: call shake_page() when error hits thp tail page

2015-04-21 Thread Naoya Horiguchi
On Mon, Apr 20, 2015 at 02:30:14PM -0700, Andrew Morton wrote: > On Wed, 15 Apr 2015 07:25:46 + Naoya Horiguchi > wrote: > > > Currently memory_failure() calls shake_page() to sweep pages out from > > pcplists > > only when the victim page is 4kB LRU page or thp head page. But we should do

Re: [PATCH] mm/memory-failure: call shake_page() when error hits thp tail page

2015-04-20 Thread Andrew Morton
On Wed, 15 Apr 2015 07:25:46 + Naoya Horiguchi wrote: > Currently memory_failure() calls shake_page() to sweep pages out from pcplists > only when the victim page is 4kB LRU page or thp head page. But we should do > this for a thp tail page too. > Consider that a memory error hits a thp tail

Re: [PATCH] mm/memory-failure: call shake_page() when error hits thp tail page

2015-04-16 Thread Dean Nelson
On 04/15/2015 02:25 AM, Naoya Horiguchi wrote: > Currently memory_failure() calls shake_page() to sweep pages out from pcplists > only when the victim page is 4kB LRU page or thp head page. But we should do > this for a thp tail page too. > Consider that a memory error hits a thp tail page whose he

Re: [PATCH] mm/memory-failure: call shake_page() when error hits thp tail page

2015-04-15 Thread Andi Kleen
On Wed, Apr 15, 2015 at 07:25:46AM +, Naoya Horiguchi wrote: > Currently memory_failure() calls shake_page() to sweep pages out from pcplists > only when the victim page is 4kB LRU page or thp head page. But we should do > this for a thp tail page too. > Consider that a memory error hits a thp