From owner-cvs-src@FreeBSD.ORG Sat Jun 16 20:31:42 2007 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 12B4516A46F; Sat, 16 Jun 2007 20:31:42 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id B5DCA13C483; Sat, 16 Jun 2007 20:31:41 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5E5D4.dip.t-dialin.net [84.165.229.212]) by redbull.bpaserver.net (Postfix) with ESMTP id 548AB2E2BC; Sat, 16 Jun 2007 22:31:36 +0200 (CEST) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id 819FA5B49F8; Sat, 16 Jun 2007 22:31:18 +0200 (CEST) Date: Sat, 16 Jun 2007 22:32:02 +0200 From: Alexander Leidinger To: Joel Dahl Message-ID: <20070616223202.12ac7a46@deskjail> In-Reply-To: <1182023759.1243.4.camel@localhost> References: <200706160337.l5G3bTd8066242@repoman.freebsd.org> <1182023759.1243.4.camel@localhost> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.12; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0.1, required 8, DKIM_POLICY_SIGNSOME 0.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, Ariff Abdullah Subject: Re: cvs commit: src/sys/dev/sound version.h src/sys/dev/sound/pci es137x.c src/sys/dev/sound/pcm buffer.c channel.c channel.h dsp.c dsp.h feeder.c feeder_rate.c mixer.c mixer.h sndstat.c sound.c sound.h vchan.c src/sys/dev/sound/usb uaudio.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2007 20:31:42 -0000 Quoting Joel Dahl (Sat, 16 Jun 2007 21:55:59 +0200): > On Sat, 2007-06-16 at 03:37 +0000, Ariff Abdullah wrote: > > ariff 2007-06-16 03:37:29 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/sound version.h > > sys/dev/sound/pci es137x.c > > sys/dev/sound/pcm buffer.c channel.c channel.h dsp.c dsp.h > > feeder.c feeder_rate.c mixer.c mixer.h > > sndstat.c sound.c sound.h vchan.c > > sys/dev/sound/usb uaudio.c > > Log: > > - New sysctl: "hw.snd.compat_linux_mmap" to allow PROT_EXEC page > > mapping, due to recent changes in linux compatibility layer which > > require it. All linux applications that using sound + mmap() (mostly games) > > require this to be enabled. Disabled by default. > > So, sound on several Linux applications (I guess games for the most > part, like you said) is broken by default now? No, it is broken since the linux_mmap changes (since some months). I would like to see this problem solved without the need to change a sysctl. Ariff, what does this do? It seems it only changes the sound part, and not any other linux mmapped region. So what is the impact of allowing this by default and removing the sysctl? Bye, Alexander. -- I'm also inclined to believe that if you wait long enough, you will eventually have more than 255 of almost *anything*.... -- A. Lyman Chapin http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137