From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 7 Jan 2014 17:26:59 +0000 From: Luis Henriques To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Joonsoo Kim , Rafael Aquini , Naoya Horiguchi , Wanpeng Li , Christoph Lameter , Vlastimil Babka , Mel Gorman , Rik van Riel , Zhang Yanfei , Andrew Morton , Linus Torvalds Subject: Re: [PATCH 3.10 075/129] mm/mempolicy: correct putback method for isolate pages if failed Message-ID: <20140107172659.GC4383@hercules> References: <20140106223859.589799655@linuxfoundation.org> <20140106223901.757315615@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140106223901.757315615@linuxfoundation.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: On Mon, Jan 06, 2014 at 02:38:24PM -0800, Greg Kroah-Hartman wrote: > 3.10-stable review patch. If anyone has any objections, please let me know. This commit was tagged for 3.12 stable only, so you may want to drop it. Cheers, -- Luis > ------------------ > > From: Joonsoo Kim > > commit b0e5fd7359f1ce8db4ccb862b3aa80d2f2cbf4d0 upstream. > > queue_pages_range() isolates hugetlbfs pages and putback_lru_pages() > can't handle these. We should change it to putback_movable_pages(). > > Naoya said that it is worth going into stable, because it can break > in-use hugepage list. > > Signed-off-by: Joonsoo Kim > Acked-by: Rafael Aquini > Reviewed-by: Naoya Horiguchi > Reviewed-by: Wanpeng Li > Cc: Christoph Lameter > Cc: Vlastimil Babka > Cc: Wanpeng Li > Cc: Mel Gorman > Cc: Rik van Riel > Cc: Vlastimil Babka > Cc: Zhang Yanfei > Signed-off-by: Andrew Morton > Signed-off-by: Linus Torvalds > Signed-off-by: Greg Kroah-Hartman > > --- > mm/mempolicy.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- a/mm/mempolicy.c > +++ b/mm/mempolicy.c > @@ -1271,7 +1271,7 @@ static long do_mbind(unsigned long start > if (nr_failed && (flags & MPOL_MF_STRICT)) > err = -EIO; > } else > - putback_lru_pages(&pagelist); > + putback_movable_pages(&pagelist); > > up_write(&mm->mmap_sem); > mpol_out: > > > -- > To unsubscribe from this list: send the line "unsubscribe stable" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html