From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757241AbcHYSuQ (ORCPT ); Thu, 25 Aug 2016 14:50:16 -0400 Received: from mga01.intel.com ([192.55.52.88]:10271 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751297AbcHYSuP (ORCPT ); Thu, 25 Aug 2016 14:50:15 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,577,1464678000"; d="scan'208";a="871098012" Subject: Re: [PATCH v6] x86/hpet: Reduce HPET counter read contention To: Waiman Long , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" References: <1471049968-63172-1-git-send-email-Waiman.Long@hpe.com> Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Borislav Petkov , Andy Lutomirski , Prarit Bhargava , Scott J Norton , Douglas Hatch , Randy Wright From: Dave Hansen Message-ID: <57BF3DE6.1090005@intel.com> Date: Thu, 25 Aug 2016 11:50:14 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <1471049968-63172-1-git-send-email-Waiman.Long@hpe.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/12/2016 05:59 PM, Waiman Long wrote: > + * The lock and the hpet value are stored together and can be read in a > + * single atomic 64-bit read. It is explicitly assumed that arch_spinlock_t > + * is 32 bits in size. This requirement forces us to give up all of the goodness of lockdep. Is this strictly a performance optimization or is there some function requirement behind it as well?