Re: Scheduler improvements

2012-10-08 Thread Gregor Best
On Mon, Oct 08, 2012 at 07:42:13PM +0200, Marc Espie wrote: > [...] > Your diff doesn't pass userland compiles. > You're adding a dependency on tree.h in proc.h. > > In kernel land on amd64, that's okay, since machine/param.h will pull > machine/cpu.h which pulls sys/sched.h which now pulls sys/tr

Re: Scheduler improvements

2012-10-08 Thread Marc Espie
On Sun, Oct 07, 2012 at 04:04:16PM +0200, Gregor Best wrote: > > [...] > > I don't think changing the idle loop like this is ok. You want to > > continue checking whether the runqueue is empty in between > > cpu_idle_enter() and cpu_idle_leave(). > > [...] > > Fair point. I'll change that :) You

Re: acpiec madness (HP laptop people pay attention to this one) - tested on some HP Compaq platforms

2012-10-08 Thread Theo de Raadt
That diff will not go into the tree now, for the same reason it didn't go in two years ago. BECAUSE IT IS WRONG. > Two years ago Marco issued a patch in order to prevent incorrect > reading acpitz on HP Compaq (or any HP laptops with acpiec madness) by > adding some delays to have data prepared t

Re: [PATCH] Enable NTFS support on loongson

2012-10-08 Thread Theo de Raadt
> On Thu, Oct 04, 2012 at 06:29:21PM -0400, Ted Unangst wrote: > > On Wed, Oct 03, 2012 at 22:26, Donovan Watteau wrote: > > > Hello, > > > > > > The following diff enables NTFS support on loongson. I've > > > been using it with external drives on my Yeeloong without any > > > problem. > > > > H

Re: Scheduler improvements

2012-10-08 Thread Ted Unangst
On Mon, Oct 08, 2012 at 18:43, Christiano F. Haesbaert wrote: > Ratchov is correct, when a process sleeps you specify the priority you > should have when waking up. I think george was referring to the old version > of his code. > > The 4.4 bsd scheduler relies heavily on these priority boosts, i

Re: Scheduler improvements

2012-10-08 Thread Gregor Best
On Mon, Oct 08, 2012 at 06:28:53PM +0200, Alexandre Ratchov wrote: > [...] > AFAIU, when a process waits for an event (with tsleep(9)), it > provides the priority of the event it's waiting for (eg an audio > interrupt). When the event occurs, the process is put in the > runnable queue calculated fr

Garmin GPS reciever

2012-10-08 Thread Kirill Bychkov
OK to add this one? Index: usbdevs === RCS file: /cvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.589 diff -u -r1.589 usbdevs --- usbdevs 3 Oct 2012 08:04:23 - 1.589 +++ usbdevs 8 Oct 2012 16:42:11 - @@ -1890

Re: Scheduler improvements

2012-10-08 Thread Christiano F. Haesbaert
On Oct 8, 2012 6:33 PM, "Alexandre Ratchov" wrote: > > On Sat, Oct 06, 2012 at 10:38:34PM +0200, Gregor Best wrote: > > Hi Alexandre, > > > > > [...] > > > This change is unclear for me; AFAIU, it removes the mechanism > > > which makes processes wake up with a priority depending on what > > > the

Re: Scheduler improvements

2012-10-08 Thread Alexandre Ratchov
On Sat, Oct 06, 2012 at 10:38:34PM +0200, Gregor Best wrote: > Hi Alexandre, > > > [...] > > This change is unclear for me; AFAIU, it removes the mechanism > > which makes processes wake up with a priority depending on what > > they are blocked on. > > [...] > > Where do you see that? The code

Re: add support for elantech touchpads to pms(4)

2012-10-08 Thread Martin Pieuchot
On 05/10/12(Fri) 20:40, Stefan Sperling wrote: > On Fri, Oct 05, 2012 at 01:52:08PM +0200, Martin Pieuchot wrote: > > My first impression at looking the code is that the v2 and v3 use > > totally different packet formats and I don't see a real benefit of > > having only one entry in the protocol ta

new umsm(4) device

2012-10-08 Thread Kirill Bychkov
Hi. Recently I've bought new Huawei E352 modem. I'm using it for some time without any problems. ok to commit? Index: umsm.4 === RCS file: /cvs/src/share/man/man4/umsm.4,v retrieving revision 1.81 diff -u -r1.81 umsm.4 --- umsm.4

Votre tapis d'entrée personnalisé

2012-10-08 Thread Actimat
Le tapis logo pour mon entrée ? C'est bien fait pour moi ! Découvrez votre tapis comme s'il existait déjà ! Profitez de cette offre exceptionnelle valable jusqu'au 30 octobre 2012 - 10 % sur votre commande code promo P1031 Le Tapis chiné 60x85 cm c'est cadeau !   t

Re: Scheduler improvements

2012-10-08 Thread Christiano F. Haesbaert
On 8 October 2012 11:24, Marc Espie wrote: > log2 should probably be scrapped, since you're reinventing ffs. > That is actually my code, back then I failed at finding an ffs. I'll try to have a look at the code this week.

Re: Scheduler improvements

2012-10-08 Thread Marc Espie
log2 should probably be scrapped, since you're reinventing ffs.

Re: Scheduler improvements

2012-10-08 Thread Ville Valkonen
Hi, Seems to be a bit snappier, though more thorough testing needed. Many web pages became more usable after the patch (chrome as browser) and some gains in desktop too. System is amd64 @ Intel(R) Core(TM)2 Duo CPU T5870 @ 2.00GHz and 4G RAM. -- cheers, Ville