Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755500AbZDNNmn (ORCPT ); Tue, 14 Apr 2009 09:42:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753731AbZDNNmd (ORCPT ); Tue, 14 Apr 2009 09:42:33 -0400 Received: from mx2.redhat.com ([66.187.237.31]:52896 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752260AbZDNNmb (ORCPT ); Tue, 14 Apr 2009 09:42:31 -0400 Date: Tue, 14 Apr 2009 15:41:09 +0200 From: Andrea Arcangeli To: KOSAKI Motohiro Cc: LKML , Zach Brown , Jens Axboe , linux-api@vger.kernel.org, Linus Torvalds , Andrew Morton , Nick Piggin , Jeff Moyer , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org Subject: Re: [RFC][PATCH v3 4/6] aio: Don't inherit aio ring memory at fork Message-ID: <20090414134109.GD28265@random.random> References: <20090414151204.C647.A69D9226@jp.fujitsu.com> <20090414151924.C653.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090414151924.C653.A69D9226@jp.fujitsu.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 653 Lines: 12 On Tue, Apr 14, 2009 at 03:20:20PM +0900, KOSAKI Motohiro wrote: > In addition, This patch has good side effect. it also fix "get_user_pages() vs fork" problem. Yes, patches like 3/6, 4/6, and 6/6 are the side effect of not fixing the core race in gup and spreading the new rwsem around the gup users, instead of sticking to a page-granular PG_flag touched at the same time atomic_inc runs on page->_count. -- 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/