From owner-freebsd-current@FreeBSD.ORG Fri May 6 13:43:14 2011 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EF9D1065672; Fri, 6 May 2011 13:43:14 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 6E9B28FC17; Fri, 6 May 2011 13:43:13 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA24633; Fri, 06 May 2011 16:43:11 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4DC3FAEE.7020807@FreeBSD.org> Date: Fri, 06 May 2011 16:43:10 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110504 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: Kostik Belousov References: <4DC3B764.4030801@FreeBSD.org> <20110506133204.GE48734@deviant.kiev.zoral.com.ua> <4DC3F9B8.3030505@FreeBSD.org> In-Reply-To: <4DC3F9B8.3030505@FreeBSD.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: current@FreeBSD.org, multimedia@FreeBSD.org Subject: Re: dsp mmap change X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2011 13:43:14 -0000 on 06/05/2011 16:38 Andriy Gapon said the following: > on 06/05/2011 16:32 Kostik Belousov said the following: >> Your patch hardcodes an assumption that sndbufs are always >> contiguous. I was unable to convince myself that this is true. > > I think that this should be true for the case when DMA is used? > But, yes, very good point. I've updated the patch in place. Should this work better? Thank you. -- Andriy Gapon