Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262231AbVC2LpH (ORCPT ); Tue, 29 Mar 2005 06:45:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262228AbVC2LpH (ORCPT ); Tue, 29 Mar 2005 06:45:07 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:62372 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S262200AbVC2Lnc (ORCPT ); Tue, 29 Mar 2005 06:43:32 -0500 Subject: Re: sched_setscheduler() and usage issues ....please help From: Arjan van de Ven To: Jan Engelhardt Cc: Lee Revell , Steven Rostedt , Arun Srinivas , nickpiggin@yahoo.com.au, LKML In-Reply-To: References: <1112071215.3691.27.camel@localhost.localdomain> <1112071867.19014.30.camel@mindpipe> Content-Type: text/plain Date: Tue, 29 Mar 2005 13:43:16 +0200 Message-Id: <1112096597.6282.50.camel@laptopd505.fenrus.org> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-2) Content-Transfer-Encoding: 7bit X-Spam-Score: 3.7 (+++) X-Spam-Report: SpamAssassin version 2.63 on pentafluge.infradead.org summary: Content analysis details: (3.7 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.1 RCVD_IN_DSBL RBL: Received via a relay in list.dsbl.org [] 2.5 RCVD_IN_DYNABLOCK RBL: Sent directly from dynamic IP address [80.57.133.107 listed in dnsbl.sorbs.net] 0.1 RCVD_IN_SORBS RBL: SORBS: sender is listed in SORBS [80.57.133.107 listed in dnsbl.sorbs.net] X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 871 Lines: 21 On Tue, 2005-03-29 at 08:03 +0200, Jan Engelhardt wrote: > >> > I am trying to set the SCHED_FIFO policy for my process.I am using > >> > sched_setscheduler() function to do this. > >> > >> Attached is a little program that I use to set the priority of tasks. > > > >Why not just use chrt from schedtools? > > Not every distro has it yet, and I like to point out that a lot of users is > still using "older" distros, such as FC2, SUSE 9.1, and also olders with Linux > 2.4 kernels FC2 has this. Even FC1 had it, and I'd not be surprised if even RHL9 had this. I'd be very susprised if SuSE 9.1 doesn't have it either. - 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/