Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp518261imm; Wed, 18 Jul 2018 06:18:09 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe0lJqBzl7VEHlRV3v7z7DOOPw44+kHMmqGufIv34ngHxSHIzgQUYl+dCgNE2XDeSx403Qp X-Received: by 2002:a17:902:7888:: with SMTP id q8-v6mr5942362pll.79.1531919889155; Wed, 18 Jul 2018 06:18:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531919889; cv=none; d=google.com; s=arc-20160816; b=oW93QDKUFXrn2E0VsAbyiOhjXVEYWMAdBCVHFoWDLUWjKsYpn47wvn+O++d1MWUrpW ON22DuN5Qu3zY7H5HxDOjDg07R4AStDddFlPwjgC8Dp8/C/rjMWhS5ITMy4nulHFMJlt nvGURkm375Lm4P6JYaE/Oo0DMJR/3fKw27GfpRSGhbR9J4FHLWsu62FdOrpVuSf6Ddid QccRy53I0D4vglmi+g3kcfDjv+XzlovKzp43xQnzpU1lreU+24/BvxT2kPOjKpf4+Eok I620DB7rgRsNToA2OViOLHtd50sfV36Yl/qpoW1P6S8cWBht0plPC2qNbryUVY9+ZnsB Uk8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:arc-authentication-results; bh=e+vw/rFlynYq9dv4ew5l02ncIr2fYs/AevMSBFjdWwc=; b=FQjsOoExk6Zi/Kdwa4ocH7bLezuwHLVww3VUlrhYY2jVaTRvT/KdSwYFBqeT7lAjYw 04VKzot0lIFEeZiysxAPlt+soGKunjyePXqfcUREnRVXiGHch44MOhJ9wsP92it/1xTA NaqDDPDVGaDKS88XD+nVs6SLp1/sTYlMsf+D693kc8QW+fesm2g+W0M6HtJp6lnLYFEw +bW7TKXggdPhk0Shj6iYkUv9OkL+Llh8e3rvtihx04/eBeXVsA1IE9UlbKUiOJPt8+1a dGykQJTRXpGHE6za0V9U8iYGcJdq0Dbcy/J7rzihErQgEbSM8HgGmW1Td6JV9zfuZowL 1SDw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m13-v6si2985223pls.70.2018.07.18.06.17.53; Wed, 18 Jul 2018 06:18:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730831AbeGRNyX (ORCPT + 99 others); Wed, 18 Jul 2018 09:54:23 -0400 Received: from ozlabs.org ([203.11.71.1]:39857 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726484AbeGRNyX (ORCPT ); Wed, 18 Jul 2018 09:54:23 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 41VyMv3tgZz9s21; Wed, 18 Jul 2018 23:16:27 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au From: Michael Ellerman To: Peter Zijlstra Cc: Linus Torvalds , Paul McKenney , Alan Stern , andrea.parri@amarulasolutions.com, Will Deacon , Akira Yokosawa , Boqun Feng , Daniel Lustig , David Howells , Jade Alglave , Luc Maranget , Nick Piggin , Linux Kernel Mailing List Subject: Re: [PATCH v2] tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquire In-Reply-To: <87601fz1kc.fsf@concordia.ellerman.id.au> References: <20180712134821.GT2494@hirez.programming.kicks-ass.net> <20180712172838.GU3593@linux.vnet.ibm.com> <20180712180511.GP2476@hirez.programming.kicks-ass.net> <20180713110851.GY2494@hirez.programming.kicks-ass.net> <87tvp3xonl.fsf@concordia.ellerman.id.au> <20180713164239.GZ2494@hirez.programming.kicks-ass.net> <87601fz1kc.fsf@concordia.ellerman.id.au> Date: Wed, 18 Jul 2018 23:16:25 +1000 Message-ID: <871sc0ptue.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Michael Ellerman writes: > Peter Zijlstra writes: ... > > I'll do some kernbench runs tomorrow and see if it shows up there. Finally got some numbers. The summary is it's in the noise, the average delta is +0.1s (total time is ~67s, so 0.17%) but the standard deviation is ~0.2s. So that's probably a real slow down, but it's very minor. I guess that's not surprising, given kernbench should be spending the bulk of its time in userspace. cheers