Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 20 Feb 2001 08:37:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 20 Feb 2001 08:37:40 -0500 Received: from mandrakesoft.mandrakesoft.com ([216.71.84.35]:6186 "EHLO mandrakesoft.mandrakesoft.com") by vger.kernel.org with ESMTP id ; Tue, 20 Feb 2001 08:37:33 -0500 Date: Tue, 20 Feb 2001 07:37:26 -0600 (CST) From: Jeff Garzik To: Norbert Roos cc: linux-kernel@vger.kernel.org Subject: Re: Probs with PCI bus master DMA to user space In-Reply-To: <3A9271A4.529FF66F@berlin.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 20 Feb 2001, Norbert Roos wrote: > > Allocate the buffers in the kernel and mmap() them into user space > > But the buffers are usually allocated with malloc() by any application > which wants to use my driver.. otherwise my driver would have to offer a > malloc-like function, but I can hardly force the application to use my > own malloc function. If you are writing the driver, sure you can. Jeff - 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/