Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750710AbVIPVuE (ORCPT ); Fri, 16 Sep 2005 17:50:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750713AbVIPVuE (ORCPT ); Fri, 16 Sep 2005 17:50:04 -0400 Received: from kepler.fjfi.cvut.cz ([147.32.6.11]:59298 "EHLO kepler.fjfi.cvut.cz") by vger.kernel.org with ESMTP id S1750710AbVIPVuB (ORCPT ); Fri, 16 Sep 2005 17:50:01 -0400 Date: Fri, 16 Sep 2005 23:49:48 +0200 (CEST) From: Martin Drab To: Arjan van de Ven cc: Linux Kernel Mailing List Subject: Re: mmap(2)ping of pci_alloc_consistent() allocated buffers on 2.4 kernels question/help In-Reply-To: <20050916214632.GA13136@devserv.devel.redhat.com> Message-ID: References: <1126896652.3103.10.camel@localhost.localdomain> <20050916214632.GA13136@devserv.devel.redhat.com> 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 Content-Length: 794 Lines: 27 On Fri, 16 Sep 2005, Arjan van de Ven wrote: > > On Fri, Sep 16, 2005 at 11:24:08PM +0200, Martin Drab wrote: > > > > And would that help anyhow? > > yes it would > > > (obtained via the RT FIFO) that he wants to mmap, the ioctl mmaps it to > > the app., app. uses the data, and then calls another ioctl to unmap the > > buffer and release it for next filling. > > don't use ioctls for this; the driver can just provide an mmap method and > you can map this pci alloc'd ram straight into the userspace app... OK, will do. Thaks. Martin - 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/