Re: [BUG] sysload accounting broken in bfs v0.422â

From: Micheal Blue
Date: Mon Jun 11 2012 - 18:38:28 EST


Indeed it is fixed. Good job sir. Do you know what causes htop to ignore running processes in the table view but show them correctly in the progress graphs? You can see this bug when you are compiling and have htop sorting by CPU% use. Works just fine with the kernel.org kernel but as soon as bfs is enabled, the bug is there :/

> ----- Original Message -----
> From: Con Kolivas
> Sent: 06/10/12 08:03 PM
> To: Micheal Blue
> Subject: Re: [BUG] sysload accounting broken in bfs v0.422â
>
> On 10 June 2012 14:16, Con Kolivas <kernel@xxxxxxxxxxx> wrote:
> > On 10 June 2012 01:56, Micheal Blue <mblue@xxxxxx> wrote:
> >> Bug to report with bfs v0.422: no sysload even when compiling on a quad core with 4 threads. ÂThis bug also affects htop.
> >>
> >> $ uptime
> >> 15:58:10 up 7:52, 2 users, load average: 0.00, 0.00, 0.00
> >>
> >> $ cat /proc/loadavg
> >> 0.00 0.00 0.00 6/336 31689
> >>
> >> Link to bfs patch: http://ck.kolivas.org/patches/bfs/3.4.0/3.4-sched-bfs-422.patch
> >>
> >> I think this is a long standing bug with bfs actually.
> >
> > Thanks. It's a known bug that started with 422. If I ever find time to
> > code on bfs in the near future I'll fix it. If this is unacceptable to
> > you please use an earlier kernel with bfs or don't use bfs at all. If
> > someone else wishes to debug it in the interim, be my guest as it's
> > likely a very trivial bug introduced in the 420-422 changes which were
> > necessary to merge with linux 3.4
>
> This is fixed in BFS 423 and 3.4-ck2:
>
> http://ck.kolivas.org/patches/bfs/3.4.0/3.4-sched-bfs-423.patch
> http://ck.kolivas.org/patches/3.0/3.4/3.4-ck2/
>
> --
> -ck

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/