From owner-freebsd-hackers Mon Feb 10 11:53:39 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7523037B401 for ; Mon, 10 Feb 2003 11:53:38 -0800 (PST) Received: from warez.scriptkiddie.org (uswest-dsl-142-38.cortland.com [209.162.142.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A0AB43F75 for ; Mon, 10 Feb 2003 11:53:35 -0800 (PST) (envelope-from lamont@scriptkiddie.org) Received: from [192.168.69.11] (unknown [192.168.69.11]) by warez.scriptkiddie.org (Postfix) with ESMTP id 57E3162D1A for ; Mon, 10 Feb 2003 11:53:32 -0800 (PST) Date: Mon, 10 Feb 2003 11:53:32 -0800 (PST) From: Lamont Granquist To: freebsd-hackers@freebsd.org Subject: xmms + RTP_PRIO_REALTIME under -current Message-ID: <20030210114953.L29259-100000@coredump.scriptkiddie.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm getting pops in xmms under -current. Awhile back the realtime scheduling option for xmms was busted, so I wrote this wrapper script around xmms. Am I doing the right thing here? Is there anything else I could do to config -current to eliminate pops? Is -current going to get a fully-preemptable kernel anytime soon? #include #include #include #include int main(int argc, char *argv[]) { struct rtprio rtp; rtp.type = RTP_PRIO_REALTIME; rtp.prio = 10; if (rtprio(RTP_SET, 0, &rtp) != 0) perror("rtprio"); setreuid(0,0); execv("/usr/X11R6/bin/xmms", argv); perror("execv"); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message