Re: 2.6.14-git3: scheduling while atomic from cpufreq on Athlon64

From: Ashok Raj
Date: Fri Nov 04 2005 - 19:00:59 EST


On Fri, Nov 04, 2005 at 02:30:35PM -0800, Andrew Morton wrote:
> Ashok Raj <ashok.raj@xxxxxxxxx> wrote:
> >
> >
> > ...
> >
> > seems ugly, but i dont find a better looking cure...
> >
>
> Could you take another look, please? It really is pretty gross.

Agree, frankly i didnt like this either, but the calls there were so
nested that i tried doing multiple ways and it appeared they need
to be broken down so much to do this a little cleanly.

i did put a real ugly comment earlier, but i must have removed it in the next
respin.

I was hoping to do just make the dirs appear/disapper (so i get the
behaviour i need) and let people more familier with the code go fix it.


>
> And the second rule of pretty-gross code is to clearly comment it - draw
>

pretty-gross.... humbly saying that is :-) i will attempt to look at it
again.

cpufreq folks... if you have better ideas brewing to make this work
in a pretty-clean way.... many thanks!

Cheers,
ashok
-
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/