Re: [PATCH] local_irq_disable removal

Ingo Molnar
2005-06-11T14:05:41Z

i've done two more things in the latest patches:

- decoupled the 'soft IRQ flag' from the hard IRQ flag. There's
basically no need for the hard IRQ state to follow the soft IRQ state.
This makes the hard IRQ disable primitives a bit faster.

- for raw spinlocks i've reintroduced raw_local_irq primitives again.
This helped get rid of some grossness in sched.c, and the raw
spinlocks disable preemption anyway. It's also safer to just assume
that if a raw spinlock is used together with the IRQ flag that the
real IRQ flag has to be disabled.

these changes dont really impact scheduling/preemption behavior, they
are cleanup/robustization changes.

Ingo