Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757448Ab0HQOVu (ORCPT ); Tue, 17 Aug 2010 10:21:50 -0400 Received: from one.firstfloor.org ([213.235.205.2]:60102 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755681Ab0HQOVu (ORCPT ); Tue, 17 Aug 2010 10:21:50 -0400 Date: Tue, 17 Aug 2010 16:21:44 +0200 From: Andi Kleen To: Jeff Moyer Cc: Naoya Horiguchi , Christoph Lameter , Andi Kleen , Andrew Morton , Mel Gorman , Wu Fengguang , "Jun'ichi Nomura" , linux-mm , LKML , Andrea Arcangeli Subject: Re: [RFC] [PATCH 2/4] dio: add page locking for direct I/O Message-ID: <20100817142144.GB18161@basil.fritz.box> References: <1281432464-14833-1-git-send-email-n-horiguchi@ah.jp.nec.com> <20100812075323.GA6112@spritzera.linux.bs1.fc.nec.co.jp> <20100812075941.GD6112@spritzera.linux.bs1.fc.nec.co.jp> <20100816020737.GA19531@spritzera.linux.bs1.fc.nec.co.jp> <20100817081753.GA28762@spritzera.linux.bs1.fc.nec.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 839 Lines: 21 On Tue, Aug 17, 2010 at 09:46:56AM -0400, Jeff Moyer wrote: > Naoya Horiguchi writes: > > > BTW, from the discussion with Christoph I noticed my misunderstanding > > about the necessity of additional page locking. It would seem that > > without page locking there is no danger of racing between direct I/O and > > page migration. So I retract this additional locking patch-set. > > OK, great! ;-) Well it sounds like we still may need something. It isn't good if O_DIRECT can starve (or DoS) migration. -Andi -- ak@linux.intel.com -- Speaking for myself only. -- 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/