Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262854AbUCUDN5 (ORCPT ); Sat, 20 Mar 2004 22:13:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263594AbUCUDN5 (ORCPT ); Sat, 20 Mar 2004 22:13:57 -0500 Received: from uslink-66.173.43-133.uslink.net ([66.173.43.133]:60551 "EHLO dingdong.cryptoapps.com") by vger.kernel.org with ESMTP id S262854AbUCUDN4 (ORCPT ); Sat, 20 Mar 2004 22:13:56 -0500 Date: Sat, 20 Mar 2004 19:13:55 -0800 From: Chris Wedgwood To: Linus Torvalds Cc: Andrea Arcangeli , linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: can device drivers return non-ram via vm_ops->nopage? Message-ID: <20040321031355.GB3930@dingdong.cryptoapps.com> References: <20040320133025.GH9009@dualathlon.random> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 572 Lines: 15 On Sat, Mar 20, 2004 at 09:39:51AM -0800, Linus Torvalds wrote: > If a driver wants to map non-RAM pages, that's perfectly ok, but it > MUST NOT happen through "nopage()". The driver should map them with > "remap_page_range()", and thus never take a page fault for such > pages at all. This is what the fetchop driver does. - 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/