From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754746Ab1IMOx4 (ORCPT ); Tue, 13 Sep 2011 10:53:56 -0400 Received: from casper.infradead.org ([85.118.1.10]:38189 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754346Ab1IMOxz convert rfc822-to-8bit (ORCPT ); Tue, 13 Sep 2011 10:53:55 -0400 Subject: Re: [PATCH 8/5] llist: Remove cpu_relax() usage in cmpxchg loops From: Peter Zijlstra To: Avi Kivity Cc: Huang Ying , Andrew Morton , linux-kernel@vger.kernel.org, Andi Kleen , Mathieu Desnoyers Date: Tue, 13 Sep 2011 16:53:26 +0200 In-Reply-To: <4E6F6E0E.6070202@redhat.com> References: <1315461646-1379-1-git-send-email-ying.huang@intel.com> <1315836358.26517.43.camel@twins> <4E6E1693.7080606@redhat.com> <1315837930.26517.49.camel@twins> <4E6F41EB.1040106@redhat.com> <1315923724.5977.15.camel@twins> <4E6F6E0E.6070202@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Mailer: Evolution 3.0.3- Message-ID: <1315925606.5977.18.camel@twins> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2011-09-13 at 17:51 +0300, Avi Kivity wrote: > > I hate arguing while agreeing, but the issue isn't that we don't spend a > significant time spinning, but that there is no owner. Should the other > cpu go away, we just pick up a new copy of oldval and complete the > transaction. Ah, ok. Yes that too ;-)