Received: by 10.192.165.148 with SMTP id m20csp724511imm; Fri, 20 Apr 2018 14:33:31 -0700 (PDT) X-Google-Smtp-Source: AIpwx48xVqZpIV+OjqyC6/lBqtJ+51XHbBeyHEC1dPBDEW0ZVQDp8ExzVYsjz7didxrwFSPNYUfu X-Received: by 10.101.76.207 with SMTP id n15mr9904171pgt.313.1524260011691; Fri, 20 Apr 2018 14:33:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524260011; cv=none; d=google.com; s=arc-20160816; b=iPXjlsqdS4VCLg8SgHiqLyUqigxDMer2/C4Ew7Kxo7tapYBzdgBjGkoA1hleEGsacL OcECdrg0dFmHU9u/uDYj7EMdVF51sDSJCkEkf/in4RYdxgHRvdD9dP6kgoCTY+7/m4X4 4QTNgck4wUxsuASXRGWW+GFmErybqnPmZ5RyM6+C8DlWhUBC0nH+DvUHjur1vhLxU5FI xd47dudUDPkgG5x3n1wozSB+QGIy6kxene3GUhB8k5o9o+o3XX6WjCBBT6S0jZPAXIXA 240SJoqnXGB8GTy8kHPoqFGWRvbDCNqY6GVqXsQlWgNpbXEU8q2UcUoXuUQRvO/yh4me lUFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:date:from:dkim-signature :arc-authentication-results; bh=itNLnnHBkNkUzXWNI2Rd72RcPU4ZJRB1NjwB609vTT4=; b=dHzOxrnMF+Ny+adydF0T6OE3exSexB2qB2X+nY5IW5bEqgnZT+7Iit2PqQY4TK5m6b RXFdtAqKHADM9ZwtEf64pw27Yl28QjLCpv87c/FCHY6nOJyVMGskjB3fsnbZ4ptnuWlt ZEmp4B5eeTXEfSvhHqajqPJ7aVw+o8JhUX6h/PNjHeRwH4GFXcFy5hiX2Q7X+bNt7ZJu dGtDZGAN15ML030NJXYJpunUjzDR8LcOGG2zaNi0S6MmAGGa0UyKuaQYVAK1HOV1Tt/Z KIKH/3cCV3c7Lk5WBzHP0xIWjXvFUMUv0ZQWCMUL/28jqAwRqwZ5Z/2g5M+q9cxa+5X/ Ztnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=h1ixbO9D; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a10si5487839pgn.636.2018.04.20.14.32.54; Fri, 20 Apr 2018 14:33:31 -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=@gmail.com header.s=20161025 header.b=h1ixbO9D; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752738AbeDTV3i (ORCPT + 99 others); Fri, 20 Apr 2018 17:29:38 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:40644 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751375AbeDTV3g (ORCPT ); Fri, 20 Apr 2018 17:29:36 -0400 Received: by mail-wr0-f195.google.com with SMTP id v60-v6so26285920wrc.7 for ; Fri, 20 Apr 2018 14:29:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=itNLnnHBkNkUzXWNI2Rd72RcPU4ZJRB1NjwB609vTT4=; b=h1ixbO9Dg8SAzS9ktjngy1Yabiq17hETZciS/5Y2w/Uhkp+A39rOR/Z4QigUs8neBt F5ZEjo0IHW/sf/bQ2nCfux4yy31OFJSYN8s2bVbPeGr0nOf49jqKZOJYEafbUXg8lwFS kH8F0acUbro6LXkPEcFpG6ZCffQSy/w6ox4ysEJhDUVuMrWqWRZQ5RkIqMo4QNU5P+uM CgH4f78UF/uhC5pQGwB0MA28r69zp0LNyjEzKhc3aNbL5V4ew/xbsh/jW13FWZBRbb0I tPuiirb9TbJmll3eBF3f9OV1ErQFwNzHdcbqjV2efHEnZtBHwzuMZ91aVucSfq01XjXE eGYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=itNLnnHBkNkUzXWNI2Rd72RcPU4ZJRB1NjwB609vTT4=; b=qSY0tZDTZjoEtNIoLMPOoc24Vxui48HiaHDYsczqOliYYRl3CJt5toK3RAXrBA3uQf IxpNmxsTUvXfCa/ezpqzwdV6opt4GFILZj2rn93s+7WgeYdJEOtcBMB3VTLpLq9In02W 08qB4HUDr0kREXzps0oSDiR5+HpQvC1B9m6RMOKhW23yZk5JKf9cWDhkhsW302rdNUs8 FXxObySIgBUr1iVITHQjFjlBM53COv6hMZYxKeiI4Dw1BLdcvAyQWc7T7EmexAAefqei F3B3fJaYJSMc0cIq27L/NIVfwwuB43llDPKF5Nns5eEefAwFTeedJqPSUJLKUEqrnRYS hlmQ== X-Gm-Message-State: ALQs6tB21q3xvVD0FEP8Wmeh7G5/QcZIzaE13h7IvDgUGvRMAiX2LWZK na14QyKdsTh2wuKmsiR4iyo= X-Received: by 2002:adf:9045:: with SMTP id h63-v6mr9337574wrh.218.1524259775663; Fri, 20 Apr 2018 14:29:35 -0700 (PDT) Received: from alpaca.bmw-carit.intra ([145.253.130.2]) by smtp.gmail.com with ESMTPSA id i30-v6sm6828610wra.38.2018.04.20.14.29.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Apr 2018 14:29:34 -0700 (PDT) From: Lukas Bulwahn X-Google-Original-From: Lukas Bulwahn Date: Fri, 20 Apr 2018 23:29:33 +0200 (CEST) To: Peter Zijlstra cc: Philipp Klocke , lukas.bulwahn@gmail.com, kernelnewbies@kernelnewbies.org, llvmlinux@lists.linuxfoundation.org, sil2review@lists.osadl.org, der.herr@hofr.at, Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: [PATCH] sched/fair: Change sched_feat(x) in !CONFIG_SCHED_DEBUG case In-Reply-To: <20180420165139.GP4064@hirez.programming.kicks-ass.net> Message-ID: References: <20180416085426.24157-1-Phil_K97@gmx.de> <20180420075717.GB4064@hirez.programming.kicks-ass.net> <34572fee-36d0-36e1-ba6d-f098b145aba4@gmx.de> <20180420165139.GP4064@hirez.programming.kicks-ass.net> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 20 Apr 2018, Peter Zijlstra wrote: > On Fri, Apr 20, 2018 at 06:29:07PM +0200, Philipp Klocke wrote: > > The gain is stopping a warning that clutters the output log of clang. > > Well, you should not be using clang anyway. It is known to miscompile > the kernel. > There are some advantages of having a second compiler that can compile the kernel (https://lwn.net/Articles/734071/). Some people in the kernel community and LLVM community are trying to get that to work. We also want a zero-warning policy for clang, similar to gcc. Hence, this motivates to have a look at those few clang warnings and come up with patches for them. This does not imply to make changes at any cost, and we need to determine a proper patch to either change the source code, disable the warning in the build script or annotate the file with some clang-specific pragmas. To us, a minor change in the source sounded most reasonable after looking at all three possible patches. Philipp might need another iteration, but it generally looks sound to me if we get the details flattened out. Lukas