Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751512AbaBKKkm (ORCPT ); Tue, 11 Feb 2014 05:40:42 -0500 Received: from verein.lst.de ([213.95.11.211]:51815 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751390AbaBKKkf (ORCPT ); Tue, 11 Feb 2014 05:40:35 -0500 Date: Tue, 11 Feb 2014 11:40:30 +0100 From: Torsten Duwe To: Raghavendra KT Cc: Benjamin Herrenschmidt , Paul Mackerras , Anton Blanchard , "Paul E. McKenney" , Peter Zijlstra , Scott Wood , Tom Musta , Ingo Molnar , Linux Kernel Mailing List , linuxppc-dev@lists.ozlabs.org, Raghavendra KT Subject: Re: [PATCH v2] powerpc ticket locks Message-ID: <20140211104030.GG2107@lst.de> References: <20140207165801.GC2107@lst.de> <1392001823.3996.21.camel@pasglop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 11, 2014 at 03:23:51PM +0530, Raghavendra KT wrote: > How much important to have holder information for PPC? From my > previous experiment > on x86, it was lock-waiter preemption which is problematic rather than > lock-holder preemption. It's something very special to IBM pSeries: the hypervisor can assign fractions of physical CPUs to guests. Sometimes a guest with 4 quarter CPUs will be faster than 1 monoprocessor. (correct me if I'm wrong). The directed yield resolves the silly situation when holder and waiter reside on the same physical CPU, as I understand it. x86 has nothing comparable. Torsten -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/