lkml.org 
[lkml]   [2008]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH] x86 alternatives : fix LOCK_PREFIX race with preemptible kernel and CPU hotplug
Mathieu Desnoyers wrote:
> A virtualized guest kernel could use that to limit its use of the
> overall machine CPU resources in different time periods. Policies can
> determine how many physical CPU a virtual machine can be tied to, and
> that may change depending on e.g. the workload or time of day. Having
> the ability to efficiently switch to UP for a long period of time seems
> important in this use-case.

Not very convinced. Unplugging cpus is a pretty coarse way to control
resource use. There are lots of other mechanisms. And it's not like an
uncontended lock is all that expensive these days...

J



\
 
 \ /
  Last update: 2008-08-14 05:39    [W:0.166 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site