lkml.org 
[lkml]   [2016]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 02/14] KVM: x86: simplify atomics in kvm_pit_ack_irq
From
Date


On 19/02/2016 16:51, Radim Krčmář wrote:
> The end result is going to be identical. I had a version that did
> something similar and it was pretty tangled as well -- I wanted to
> remove useless locks before re-using one for the ioctls.
> (We need the protection earlier, because userspace can control notifiers
> while PIT is still being initialized. And removing the lock had
> dependencies.)

Yeah, I eventually imagined that cleaning up the locks helps with the
patch that adds/removes the notifiers dynamically. Then I guess your
current ordering of the patches is good!

Paolo

\
 
 \ /
  Last update: 2016-02-19 17:21    [W:8.328 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site