Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1731840imm; Thu, 21 Jun 2018 01:17:44 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI5m6D6kcEg1N53acpS+hkwaLMBgtzdABw7CCLGbczmIfFvtd7E1jE37mXoXhJNLUzbL/sj X-Received: by 2002:a63:5f12:: with SMTP id t18-v6mr21124585pgb.81.1529569063995; Thu, 21 Jun 2018 01:17:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529569063; cv=none; d=google.com; s=arc-20160816; b=vJK715qT4Mjs5E6x6sHzkLrtl6BokMCZIe4jVJcx3ZTUhr0J2z91u7GRAZNEtYlBFh hYDvfQNr4rVX9EqAJgE4/DTLYLYHw3jpH2p7sfXkrzVzqyy91b6j9frt9j77xTUt1WSM tDLboBcIs0mCbRnHGYZhfJHnNpQUuk3yIbN69brg02usHy1vh5mEXbcs6b68voT5xrKC vQ+TyByOieSZoSd/U9ZjRIBN4oqwEruyom/rMGWbfKtb9fd4Qq94an64vUJo6JfS1TF3 6UHw/Qov0Ywu2BJe7gyu36DWueJedI7YKv/PFJ/O52guzEkiXVxlYaDKPYKgbFjcxLlp aqSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=MPYff/pYZSFNhhQyfQx4STm/AKPvaIYbpQq5B+hPb1c=; b=Hz4t6L+BzogFcBDcXYqHY1NR3WIf8IRtgXQDDhGDPpVWSzKjwZA+EkYCZcTwe+rtR+ e2eniNe2UlA85+3FlYvqEHTlL2Wg1FQmFzwcrgQW62lmiGjZfRQxStVcOqPCZYXjeKBj AL6LDtmzvAHMs79tRK5r+rN1dY16+1iJInJt/iQL8Qyn4PTm8TrhcwKvg+i2x4NqsTLX A3vq344UolhmrIt+GgDccmHET0Gv37Js0LVoTjDIn0WTqMsXyT1Kf7X655sT4DyoMrWQ O+CcpTqCZr2FQ4+STp8yArhP3uLgRsiTpMNrD4hughdYQZB1Ij+cvWsaXw3lXdVcCoqA vSBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=IAtrvfp0; 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 y62-v6si4316348pff.54.2018.06.21.01.17.30; Thu, 21 Jun 2018 01:17:43 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=IAtrvfp0; 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 S933091AbeFUIQg (ORCPT + 99 others); Thu, 21 Jun 2018 04:16:36 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:38356 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932528AbeFUIPV (ORCPT ); Thu, 21 Jun 2018 04:15:21 -0400 Received: by mail-it0-f68.google.com with SMTP id v83-v6so3543393itc.3 for ; Thu, 21 Jun 2018 01:15:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MPYff/pYZSFNhhQyfQx4STm/AKPvaIYbpQq5B+hPb1c=; b=IAtrvfp0nNlBYfmyZAz4N69nfQ4vgKg28zHTmBDxGSBWaSKnokcnbcRcU8YK8QcPI3 c1qBetIgHRYb20ojueQ+IFiRvaULum15CMwiiE55pCwwUrOcK6dL8m9CxbbJm0VqJbdz THbKHZ4atbQQCre4pdUTBSVFMJJ03Y2ApRT8g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MPYff/pYZSFNhhQyfQx4STm/AKPvaIYbpQq5B+hPb1c=; b=k/R/r8CrL+EryLDqMf3IHWLw5YGPDVc86pISHO3xXRtvKFA4USYjBAsjG1/ha4TXKE 5TZjRBPwJ37DuBEbEMryzR5OqfURJ7/gnq6qn6qXxthptH+jgZR0Z7pCcM9tG/lq6d8v /LpGA+MYBa7Cl6q8xOUKNubSpKVwXnfPTZqtn7bDnYuvcBbD0k/p1tw5oE9GYApYj43w NQAa5+qnUaA6+QrRdP2N0o78KmzZZddSyWMIGV2s3csmq2e6OSpWbHf4YcmCwBmF27tx pIfF0b1mYxJdXkRTPCT44kQKHwVjlLYeSSfr5cJOqwkuuofwFiSLq4waKnIuLpMDuL7B a4ug== X-Gm-Message-State: APt69E0nRoZ3fCU2j9orPvgQ7DBiByOzVi26yE5F8kZLGR/7Vkp+hSjH 9oshtCYVuh5n0xpYBkykHcqHdYWS8dmPm82pXpw= X-Received: by 2002:a24:8046:: with SMTP id g67-v6mr4251656itd.16.1529568921120; Thu, 21 Jun 2018 01:15:21 -0700 (PDT) MIME-Version: 1.0 References: <20180621080624.GO11011@yexl-desktop> In-Reply-To: <20180621080624.GO11011@yexl-desktop> From: Linus Torvalds Date: Thu, 21 Jun 2018 17:15:09 +0900 Message-ID: Subject: Re: [lkp-robot] [Kbuild] 050e9baa9d: netperf.Throughput_total_tps -5.6% regression (FYI) To: kernel test robot Cc: Masahiro Yamada , Linux Kernel Mailing List , LKP , Huang Ying , Aaron Lu Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 21, 2018 at 5:10 PM kernel test robot wrote: > > FYI, we noticed a -5.6% regression of netperf.Throughput_total_tps due to commit 050e9b ("Kbuild: rename CC_STACKPROTECTOR[_STRONG] config variables") That's perhaps a surprisingly large cost to stack protector, but you did move from "no stack protector at all": > $ grep STACKPROTECTOR config-4.17.0-11782-gbe779f0 > CONFIG_HAVE_CC_STACKPROTECTOR=y > CONFIG_CC_HAS_STACKPROTECTOR_NONE=y > # CONFIG_CC_STACKPROTECTOR is not set > CONFIG_CC_HAS_SANE_STACKPROTECTOR=y To having the *strong* stack protector enabled: > $ grep STACKPROTECTOR config-4.17.0-11783-g050e9baa > CONFIG_HAVE_CC_STACKPROTECTOR=y > CONFIG_CC_HAS_STACKPROTECTOR_NONE=y > CONFIG_STACKPROTECTOR=y > CONFIG_STACKPROTECTOR_STRONG=y > CONFIG_CC_HAS_SANE_STACKPROTECTOR=y so you're testing the "no overhead" case to the "worst overhead" case. Linus