[PATCH] Lazy interrupt disabling for 64-bit machines

Gabriel Paubert paubert at iram.es
Tue Sep 26 20:31:04 EST 2006

On Tue, Sep 26, 2006 at 07:12:06PM +1000, Benjamin Herrenschmidt wrote:
> > I like it. Got any benchmarks that show a difference?
> > 
> > At first glance I found it a bit hard to follow, since the old+new
> > terminology is a bit complicated. There's softe, proc_enabled and
> > hard_enabled. A s/proc_enabled/soft_enabled/g (and similar for
> > asm-offsets) might make it a little more intuitive, since you're
> > touching most uses of it already?
> Now think about using -ffixed=crN ... reserve a CR field and use that
> for per-cpu flags like that :)

Actually cr5 is never used by GCC on any PPC. Look at the source
code in config/rs6000.h, it is marked fixed and never allocated
as far as I understand.

	Gabriel "an unused register is a wasted register"

More information about the Linuxppc-dev mailing list