Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935401AbZLQSRj (ORCPT ); Thu, 17 Dec 2009 13:17:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S935124AbZLQSRh (ORCPT ); Thu, 17 Dec 2009 13:17:37 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:37674 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934997AbZLQSRf (ORCPT ); Thu, 17 Dec 2009 13:17:35 -0500 Date: Thu, 17 Dec 2009 10:17:03 -0800 (PST) From: Linus Torvalds X-X-Sender: torvalds@localhost.localdomain To: Russell King cc: Christoph Hellwig , tytso@mit.edu, Kyle McMartin , linux-parisc@vger.kernel.org, Linux Kernel Mailing List , James.Bottomley@suse.de, linux-arch@vger.kernel.org, Jens Axboe Subject: Re: [git patches] xfs and block fixes for virtually indexed arches In-Reply-To: <20091217180802.GA1546@flint.arm.linux.org.uk> Message-ID: References: <20091216043618.GB9104@hera.kernel.org> <20091217132256.GO28962@bombadil.infradead.org> <20091217163036.GE2123@thunk.org> <20091217170743.GA10431@infradead.org> <20091217180802.GA1546@flint.arm.linux.org.uk> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 663 Lines: 21 On Thu, 17 Dec 2009, Russell King wrote: > > That's not entirely true. If you have write back caches which are not DMA > coherent, you need to as a minimum: > > - on write, clean the cache to ensure that the page is up to date with data > held in cache. > > - on read, you must ensure that there are no potential write-backs before > the read commenses and invalidate at some point. Right you are. Linus -- 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/