Re: [PATCH] increase PREEMPT_BITS to 12 to avoid overflow when starting KVM

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rik van Riel
Date: Tuesday, March 30, 2010 - 11:05 am

On 03/30/2010 01:56 PM, Peter Zijlstra wrote:

Awww nuts.  I thought PREEMPT_ACTIVE used the same scheme of
adding shifts, but now I see it is hard coded on x86. Doh!

I'm guessing the best thing to do would be to remove the
PREEMPT_ACTIVE #define on x86 and use the one from hardirq.h?


No argument there.  I can't think of an alternative to mm_take_all_locks
though.  Andrea?
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] increase PREEMPT_BITS to 12 to avoid overflow ..., Rik van Riel, (Tue Mar 30, 11:05 am)