Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755740AbYFQJPQ (ORCPT ); Tue, 17 Jun 2008 05:15:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752077AbYFQJPE (ORCPT ); Tue, 17 Jun 2008 05:15:04 -0400 Received: from fgwmail6.fujitsu.co.jp ([192.51.44.36]:47411 "EHLO fgwmail6.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751224AbYFQJPB (ORCPT ); Tue, 17 Jun 2008 05:15:01 -0400 Date: Tue, 17 Jun 2008 18:14:49 +0900 From: KOSAKI Motohiro To: KAMEZAWA Hiroyuki Subject: Re: [Bad page] trying to free locked page? (Re: [PATCH][RFC] fix kernel BUG at mm/migrate.c:719! in 2.6.26-rc5-mm3) Cc: kosaki.motohiro@jp.fujitsu.com, Daisuke Nishimura , Andrew Morton , Rik van Riel , Lee Schermerhorn , Nick Piggin , linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-testers@vger.kernel.org In-Reply-To: <20080617180314.2d1b0efa.kamezawa.hiroyu@jp.fujitsu.com> References: <20080617164709.de4db070.nishimura@mxp.nes.nec.co.jp> <20080617180314.2d1b0efa.kamezawa.hiroyu@jp.fujitsu.com> Message-Id: <20080617181110.E2D6.KOSAKI.MOTOHIRO@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.42 [ja] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1043 Lines: 29 > > > I got this bug while migrating pages only a few times > > > via memory_migrate of cpuset. > > > > > > Unfortunately, even if this patch is applied, > > > I got bad_page problem after hundreds times of page migration > > > (I'll report it in another mail). > > > But I believe something like this patch is needed anyway. > > > > > > > I got bad_page after hundreds times of page migration. > > It seems that a locked page is being freed. > > > Good catch, and I think your investigation in the last e-mail was correct. > I'd like to dig this...but it seems some kind of big fix is necessary. > Did this happen under page-migraion by cpuset-task-move test ? Indeed! I guess lee's unevictable infrastructure and nick's specurative pagecache is conflicted. I'm investigating deeply now. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/