From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752750AbdATO1s (ORCPT ); Fri, 20 Jan 2017 09:27:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52756 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752494AbdATO1p (ORCPT ); Fri, 20 Jan 2017 09:27:45 -0500 Date: Fri, 20 Jan 2017 15:20:30 +0100 From: Radim Krcmar To: Marcelo Tosatti Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Paolo Bonzini , Richard Cochran , Miroslav Lichvar Subject: Re: [patch 5/5] PTP: add kvm PTP driver Message-ID: <20170120142030.GB1365@potion> References: <20170120122025.665985919@redhat.com> <20170120122503.842086637@redhat.com> <20170120141255.GA1365@potion> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170120141255.GA1365@potion> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Fri, 20 Jan 2017 14:20:34 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2017-01-20 15:12+0100, Radim Krcmar: > 2017-01-20 10:20-0200, Marcelo Tosatti: >> + spin_lock(&kvm_ptp_lock); > > What does the lock prevent? clock_off/clock_off_gpa. :)