Re: [git pull] scheduler fixes

Alexey Zaytsev
2009-02-04T22:28:50Z

On Mon, Feb 2, 2009 at 12:52, Peter Zijlstra <peterz@infradead.org> wrote:
> On Sat, 2009-01-31 at 20:49 +0300, Alexey Zaytsev wrote:
>> And answering an earlier question, this happens only on i386 and only
>> with 4K stacks because x86_64 dosn't have a separate softirq stack,
>> so the preempt count diring the soft irq is at least IRQ_EXIT_OFFSET.
>
> Which suggests that an initial preempt_count offset of 1 should suffice
> to fix this issue and not confuse the softirq tracing, hmm?

Can't we just copy the preempt count when switching stacks?