From mboxrd@z Thu Jan 1 00:00:00 1970 From: minchan.kim@gmail.com (Minchan Kim) Date: Fri, 2 Apr 2010 14:15:56 +0900 Subject: [Question] race condition in mm/page_alloc.c regarding page->lru? In-Reply-To: <20100402140406.d3d7f18e.kamezawa.hiroyu@jp.fujitsu.com> References: <20100402140406.d3d7f18e.kamezawa.hiroyu@jp.fujitsu.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Apr 2, 2010 at 2:04 PM, KAMEZAWA Hiroyuki wrote: > On Fri, 2 Apr 2010 11:51:33 +0800 > TAO HU wrote: > >> 2 patches related to page_alloc.c were applied. >> Does anyone see a connection between the 2 patches and the panic? >> NOTE: the full patches are attached. >> > > I don't think there are relationship between patches and your panic. > > BTW, there is other case about the backlog rather than race in alloc_pages() > itself. If someone list_del(&page->lru) and the page is already freed, > you'll see the same backlog later. > Then, I doubt use-after-free case rather than complicated races. It does make sense. Please, grep "page handling" by out-of-mainline code. If you found out, Please, post it. -- Kind regards, Minchan Kim