Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp312622imm; Fri, 5 Oct 2018 04:21:08 -0700 (PDT) X-Google-Smtp-Source: ACcGV63QgoFtLHghJybUSMNUxSD8fHW/2d92VrFfyULP3A9uCi1F6gMAu6awmldvtwyYX3A1f6CG X-Received: by 2002:a62:425b:: with SMTP id p88-v6mr11450852pfa.96.1538738468137; Fri, 05 Oct 2018 04:21:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538738468; cv=none; d=google.com; s=arc-20160816; b=uqreBLN9DofMPIkqmuIt0lm5C33WrmHdT/eF/mRhH8TYTagUi0oP/cMuJ8OXgJaJbQ ifj779cJUTv/RdGrJ6a9PaoklRBOssUF1IjacdSxt2Q39J1DHKjp00L/Xk6PIS3T5TTj K1h8s7RDCWeNaKnOn+LHMaCrdjQwo80ek19K4qeFYfrIRNgS5a5TKdydydOx7wVm5KT0 uQ868p/2dlATRSq85rZmfOhbH/N93nEufoV/gJQ5onauJvANROHCXii2io41ojCaDPer jhUtY5FmLHozQv56Ezu7j7mgY4+DviRi/7a47gMOQBbpwlo9wSaMW+Xf3VIN8qM/26fy NvmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=UUMT2vB7OBYbPZ9ZBtABETlAWQ8Aua//e95F7g/9k5Y=; b=saT71SDQovTKZnaobs4c1cBhnTD5GoKfoiUrDJv95xwtBBprpbuC0h0IzWGegw9DBz mZAg1URLImMQCZ3hq7V43RtP8/vXEqf2EsVkJ0YSUVbF01XzmqFm5zMRC+NIE/zy1RLV vcqs+GD934DPZjA+uJe/inSGQB3mmWnVuLlCTGwWh6LQBVCIHe/PYsNqdrkeSAvURjJi xFTTbdeJJbuiTRlUVI1ICKKgMw6IaeQMe6djSbHarPCqk2u1rYIqaEJPVtRPWhwbEihK 9BoDvhDUa44/Eg+eWMORLr0+GRTfKTOV7w5b4yy7QLkpupY8xeg2o96Fvv0o5P7PHUs5 4B6A== 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 j22-v6si8164760pll.86.2018.10.05.04.20.22; Fri, 05 Oct 2018 04:21:08 -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 S1728021AbeJESSh (ORCPT + 99 others); Fri, 5 Oct 2018 14:18:37 -0400 Received: from mail.skyhub.de ([5.9.137.197]:60908 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727581AbeJESSg (ORCPT ); Fri, 5 Oct 2018 14:18:36 -0400 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (blast.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 62puEbml3eNp; Fri, 5 Oct 2018 13:20:14 +0200 (CEST) Received: from zn.tnic (p200300EC2BCA7500329C23FFFEA6A903.dip0.t-ipconnect.de [IPv6:2003:ec:2bca:7500:329c:23ff:fea6:a903]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id ABDEF1EC021C; Fri, 5 Oct 2018 13:20:14 +0200 (CEST) Date: Fri, 5 Oct 2018 13:20:10 +0200 From: Borislav Petkov To: Ingo Molnar Cc: Nadav Amit , "hpa@zytor.com" , Ingo Molnar , "linux-kernel@vger.kernel.org" , "x86@kernel.org" , Thomas Gleixner , Jan Beulich , Josh Poimboeuf , Linus Torvalds , Peter Zijlstra , Andy Lutomirski Subject: Re: [PATCH v9 04/10] x86: refcount: prevent gcc distortions Message-ID: <20181005112010.GC10285@zn.tnic> References: <20181003213100.189959-5-namit@vmware.com> <20181004075755.GA3353@gmail.com> <20181004083333.GA9802@gmail.com> <10D29A50-C352-4407-A824-0C3C06CD8592@zytor.com> <20181004091222.GB21864@gmail.com> <20181004094519.GA97692@gmail.com> <29591D3B-D49B-4D7A-B280-85A2C3F63F9C@vmware.com> <20181005093108.GA24723@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181005093108.GA24723@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 05, 2018 at 11:31:08AM +0200, Ingo Molnar wrote: > > * Nadav Amit wrote: > > > > Are you using defconfig or a reasonable distro-config for your tests? > > > > I think it is best to take the kernel and run localyesconfig for testing. > > Ok, agreed - and this makes the numbers you provided pretty representative. > > Good - now that all of my concerns were addressed I'd like to merge the remaining 3 patches as > well - but they are conflicting with ongoing x86 work in tip:x86/core. The extable conflict is > trivial, the jump-label conflict a bit more involved. FWIW, gcc guys are not too averse to the idea of enhancing gcc inline asm syntax with a statement which specifies its size so that gcc can use it to do better inlining cost estimation than counting lines. Lemme work the process ... -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.