Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751309AbVIPVqm (ORCPT ); Fri, 16 Sep 2005 17:46:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751310AbVIPVql (ORCPT ); Fri, 16 Sep 2005 17:46:41 -0400 Received: from mx1.redhat.com ([66.187.233.31]:1949 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S1751309AbVIPVql (ORCPT ); Fri, 16 Sep 2005 17:46:41 -0400 Date: Fri, 16 Sep 2005 23:46:32 +0200 From: Arjan van de Ven To: Martin Drab Cc: Linux Kernel Mailing List Subject: Re: mmap(2)ping of pci_alloc_consistent() allocated buffers on 2.4 kernels question/help Message-ID: <20050916214632.GA13136@devserv.devel.redhat.com> References: <1126896652.3103.10.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 691 Lines: 19 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... - 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/