From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bigblue.dev.mcafeelabs.com by xmailserver.org with [XMail 1.16 (Linux/Ix86) ESMTP Server] id for from ; Mon, 07 Jul 2003 11:12:00 -0700 Date: Mon, 7 Jul 2003 10:58:06 -0700 (PDT) From: Davide Libenzi Subject: Re: 2.5.74-mm1 In-Reply-To: <200307071728.08753.phillips@arcor.de> Message-ID: References: <20030703023714.55d13934.akpm@osdl.org> <200307071728.08753.phillips@arcor.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Daniel Phillips Cc: Mel Gorman , Jamie Lokier , Andrew Morton , Linux Kernel Mailing List , Linux Memory Management List List-ID: On Mon, 7 Jul 2003, Daniel Phillips wrote: > That's not correct in this case, because the sound servicing routine is > realtime, which makes it special. Furthermore, Zinf is already trying to > provide the kernel with the hint it needs via PThreads SetPriority but > because Linux has brain damage - both in the kernel and user space imho - the > hint isn't accomplishing what it's supposed to. > > As I said earlier: trying to detect automagically which threads are realtime > and which aren't is stupid. Such policy decisions don't belong in the > kernel. Having hacked a little bit with vsound I can say that many sound players do not use at 100% the buffering the sound card/kernel is able to provide and they still use 4-8Kb feeding chunks. That require very short timings to not lose the time. - Davide -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: aart@kvack.org