[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] 4KB stack + irq stack for x86
Dave Hansen wrote:
> I fixed the problems that I was having. thread_info->preempt_count is
> now used to store softirq state, unlike in 2.5.20. Preempt count was
> not preserved once the switch to the interrupt stack occurred. This
> caused two nested softirqs and a deadlock. It is fixed now.
That'll teach me to get excited and send a patch. Sorry about the
"Only in"'s. I also think that there is still a small race window in
the code that I sent. I think that the old preempt_count need to be
placed into the new thread_info's preempt_count _before_ the stack
switch occurs.
--
Dave Hansen
haveblue@us.ibm.com
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/