Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263564AbUCTWpl (ORCPT ); Sat, 20 Mar 2004 17:45:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263565AbUCTWpl (ORCPT ); Sat, 20 Mar 2004 17:45:41 -0500 Received: from holomorphy.com ([207.189.100.168]:48521 "EHLO holomorphy.com") by vger.kernel.org with ESMTP id S263564AbUCTWpj (ORCPT ); Sat, 20 Mar 2004 17:45:39 -0500 Date: Sat, 20 Mar 2004 14:45:18 -0800 From: William Lee Irwin III To: rmk@arm.linux.org.uk, Jaroslav Kysela , Linus Torvalds , LKML Subject: Re: can device drivers return non-ram via vm_ops->nopage? Message-ID: <20040320224518.GQ2045@holomorphy.com> Mail-Followup-To: William Lee Irwin III , rmk@arm.linux.org.uk, Jaroslav Kysela , Linus Torvalds , LKML References: <20040320133025.GH9009@dualathlon.random> <20040320144022.GC2045@holomorphy.com> <20040320150621.GO9009@dualathlon.random> <20040320154419.A6726@flint.arm.linux.org.uk> <20040320160911.B6726@flint.arm.linux.org.uk> <20040320222341.J6726@flint.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040320222341.J6726@flint.arm.linux.org.uk> User-Agent: Mutt/1.5.5.1+cvs20040105i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1453 Lines: 29 On Sat, Mar 20, 2004 at 08:44:44PM +0100, Jaroslav Kysela wrote: >> Yes, I'm sorry about that, but the ->nopage usage was requested by Jeff >> Garzik and we're not gurus for the VM stuff. Because we're probably first >> starting using of this mapping scheme, it resulted to problems. On Sat, Mar 20, 2004 at 10:23:41PM +0000, Russell King wrote: > Well, I've been told to effectively screw my idea by David Woodhouse, > so may I make the radical suggestion that rm -rf linux/sound would > also fix the problem. No, didn't think that was acceptable either. > Ok, so, how the fsck do we fix the sound drivers? How do we mmap() > memory provided by dma_alloc_coherent() into user space portably? > It appears from what David Woodhouse has been going on about, even > providing an architecture dma_coherent_to_page() interface isn't > acceptable. > If we can't answer that question, we might as well remove ALSA and > OSS from the kernel because they are abusing existing kernel > interfaces in ways which can not be solved. Is there any possibility of an extension to remap_area_pages() that could resolve this? I can't say I fully understood and/or remember the issue with it that you pointed out. -- wli - 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/