From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754351Ab3LSRRy (ORCPT ); Thu, 19 Dec 2013 12:17:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:30064 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752296Ab3LSRRx (ORCPT ); Thu, 19 Dec 2013 12:17:53 -0500 Date: Thu, 19 Dec 2013 12:17:40 -0500 From: Dave Jones To: Linus Torvalds Cc: Linux Kernel , linux-mm , Christoph Lameter , Benjamin LaHaise , Kent Overstreet , Al Viro Subject: Re: bad page state in 3.13-rc4 Message-ID: <20131219171740.GA881@redhat.com> Mail-Followup-To: Dave Jones , Linus Torvalds , Linux Kernel , linux-mm , Christoph Lameter , Benjamin LaHaise , Kent Overstreet , Al Viro References: <20131219040738.GA10316@redhat.com> <20131219155313.GA25771@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 19, 2013 at 09:07:27AM -0800, Linus Torvalds wrote: > On Thu, Dec 19, 2013 at 7:53 AM, Dave Jones wrote: > > > > Interesting that CPU2 was doing sys_io_setup again. Different trace though. > > Well, it was once again in aio_free_ring() - double free or freeing > while already in use? And this time the other end of the complaint was > allocating a new page that definitely was still busily in use (it's > locked). > > And there's no sign of migration, although obviously that could have > happened or be in progress on another CPU and just didn't notice the > mess. But yes, based on the two traces, fs/aio.c:io_setup() would seem > to be the main point of interest. > > Have you started doing something new in trinity wrt AIO, and > io_setup() in particular? Or anything else different that might have > started triggering this? Nothing special for aio, it's always had support for creating things that look like iovecs, though now maybe it's filling those iovec's with mmaps that it created (including potentially huge pages) instead of just mallocs. Dave