lkml.org 
[lkml]   [2009]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateThu, 5 Feb 2009 01:28:37 +0300
SubjectRe: [git pull] scheduler fixes
FromAlexey Zaytsev <>
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?


\
 
 \ /
  Last update: 2009-02-04 23:31    [from the cache]
©2003-2010