Date: Wed, 2 Jan 2008 03:31:34 -1000 (HST) From: Jeff Roberson <jroberson@chesapeake.net> To: Peter Jeremy <peterjeremy@optushome.com.au> Cc: freebsd-current@freebsd.org Subject: Re: idle priority scheduling broken in 7.0-BETA4 Message-ID: <20080102033011.P957@desktop> In-Reply-To: <20080102105049.GA903@server.vk2pj.dyndns.org> References: <20071223092332.GJ25002@server.vk2pj.dyndns.org> <476F81AF.7000505@gmail.com> <20080101190607.B957@desktop> <20080102105049.GA903@server.vk2pj.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2547152148-139958016-1199280694=:957 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Wed, 2 Jan 2008, Peter Jeremy wrote: > On Tue, Jan 01, 2008 at 07:09:54PM -1000, Jeff Roberson wrote: >> Can you please try this experimental patch for ULE? It re-enables the time >> slicing code for idle prio and realtime tasks that are not fifo. > > I still had boinc running at "nice -n 19" and the system wouldn't > boot: It started boinc, reported it was checking the apache.conf and > didn't go any further. I couldn't kill boinc or setiathome from ddb > and had to push the reset button. I will look at the patch more > closely tomorrow but it looks suspiciously like it stopped > time-slicing. ah, I'm sorry. the new line with PRI_FIFO should read PRI_FIFO_BIT. I tested the patch but not with any idle prio tasks that run forever. Enclosed is a new patch. Thanks, Jeff > > -- > Peter Jeremy > Please excuse any delays as the result of my ISP's inability to implement > an MTA that is either RFC2821-compliant or matches their claimed behaviour. > --2547152148-139958016-1199280694=:957 Content-Type: TEXT/x-diff; charset=US-ASCII; name=uleidle.diff Content-Transfer-Encoding: BASE64 Content-ID: <20080102033134.B957@desktop> Content-Description: Content-Disposition: attachment; filename=uleidle.diff SW5kZXg6IHNjaGVkX3VsZS5jDQo9PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpS Q1MgZmlsZTogL2hvbWUvbmN2cy9zcmMvc3l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pY2tpbmNyOw0KKwkJc2NoZWRfaW50ZXJhY3RfdXBkYXRl KHRkKTsNCisJfQ0KIAkvKg0KIAkgKiBXZSB1c2VkIHVwIG9uZSB0aW1lIHNs aWNlLg0KIAkgKi8NCg== --2547152148-139958016-1199280694=:957--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080102033011.P957>