Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965163AbWECMLX (ORCPT ); Wed, 3 May 2006 08:11:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965170AbWECMLX (ORCPT ); Wed, 3 May 2006 08:11:23 -0400 Received: from canuck.infradead.org ([205.233.218.70]:24770 "EHLO canuck.infradead.org") by vger.kernel.org with ESMTP id S965163AbWECMLX (ORCPT ); Wed, 3 May 2006 08:11:23 -0400 Subject: Re: [RFC] Advanced XIP File System From: David Woodhouse To: Josh Boyer Cc: Nicolas Pitre , Jared Hulbert , linux-kernel@vger.kernel.org In-Reply-To: <625fc13d0605030341h2a105f49r2b1b610547e30022@mail.gmail.com> References: <6934efce0605021453l31a438c4j7c429e6973ab4546@mail.gmail.com> <625fc13d0605021756v7a8e0d7p1e9d8e4c810bc092@mail.gmail.com> <625fc13d0605030341h2a105f49r2b1b610547e30022@mail.gmail.com> Content-Type: text/plain Date: Wed, 03 May 2006 13:11:15 +0100 Message-Id: <1146658275.20773.8.camel@pmac.infradead.org> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 (2.6.1-1.fc5.2.dwmw2.1) Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by canuck.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 891 Lines: 22 On Wed, 2006-05-03 at 05:41 -0500, Josh Boyer wrote: > Yes, I realize that all that is needed is support from other archs. A > more general form of the question would be does AXFS depend on > ARCH_MTD_XIP? That's for kernel XIP, which needs special magic for putting certain functions into RAM instead of the flash, polling for interrupts, etc. For general _userspace_ XIP we don't necessarily need to do that. We only need to mark those pages as absent in the page tables if we ever schedule to userspace while the flash is in a mode other than read mode. Then handle the page fault by switching the flash back or waiting for it. -- dwmw2 - 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/