lkml.org 
[lkml]   [2010]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] increase PREEMPT_BITS to 12 to avoid overflow when starting KVM
    From
    Date
    On Tue, 2010-03-30 at 14:05 -0400, Rik van Riel wrote:
    > > Also, you'll need to convince mingo and tglx too.. taking that many
    > > spinlocks is utter suckage..
    >
    > No argument there. I can't think of an alternative to mm_take_all_locks
    > though. Andrea?

    Well there's altneratives enough, back when this got introduces quite a
    few got mentioned too, but they all make the !mm_take_all_locks() lock
    side slower so Andrea didn't like them.

    I think one of them got mentioned in yesterday's thread as well.

    Another alternative is making all those spinlocks mutexes, that will get
    rid of that massive !preempt section too.



    \
     
     \ /
      Last update: 2010-03-30 20:37    [W:2.120 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site