Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp773151imu; Tue, 11 Dec 2018 07:22:02 -0800 (PST) X-Google-Smtp-Source: AFSGD/VBslh94zRVGXD/rlKMAV66Bh3ZsLEZtUj+4hGPlRHx71EVFgRglk8Vue1HYzJ3VV2Si06E X-Received: by 2002:a62:3948:: with SMTP id g69mr16959064pfa.114.1544541722032; Tue, 11 Dec 2018 07:22:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544541722; cv=none; d=google.com; s=arc-20160816; b=Nkj03tZ1OGpj/SczBA1DbgmjvZEuA0D74gIxK5zdqgFsYAtGcg3VgNBMUoasZN0eKG VJKYBEE47aLWoBuzRiLCegEoOtNz63JKWZZ3zpCb6B255HFpsn/C8Y3D4hBxcy4na19O s0H/UP0eg2a7gaGaFhaopsQhOqCGmNLWzhF4AAb/iw5WByUT9Zq2/wZ6VOzvrxH8znja k7kzJUhbXonIusJsyI0LfSPt1OTHeSkcY0V+WrY7VWLYJzoHfkkX7TbMc/GZXP3gCvg0 ZpUGJcX4e+F1TqawUiTTfBJEYmCyEG1nMW/OhPeDOSfhyLnKE8Xici/I/bTNpxJ0Lqgj uufw== 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; bh=irrjfb88dlEk0TZFlLM/kg3lIhZCBBds6j6a1aQVXwU=; b=AyAveHdEjjtKTM8Lwrg0yxamd0DSA99VRP8HmAIdWLdX79Pg0CUsCdosUxFvZGfrQZ kH+88pRPMbybkjnaTntv3FotfmAe1Q93ONjexCvKeanmtdJbEEu6GgcJJfkppbIKILH4 Rgrgz4qElV8sORcxVTwxl324Nf308y+zHl2z43rZ3jaQuapnqRke2OPhPwqQcU2m59ir pvqxcuMU7KaXOaOi7cZ9VHD1lsbUsqsbUJjZVzhT2/s6J2+brE8KrP3Anvc2/0XJjVMR Ms8DpPVE5u8u0IYzDhzZGogYB2OLLEAIm5m8CpfIIkNX7jtG/DIF/JpKSYRGN/pdIhKl E7Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=P50rlAyV; 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 b14si12253622pgj.20.2018.12.11.07.21.47; Tue, 11 Dec 2018 07:22:02 -0800 (PST) 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=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=P50rlAyV; 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 S1726714AbeLKPUf (ORCPT + 99 others); Tue, 11 Dec 2018 10:20:35 -0500 Received: from mail-io1-f67.google.com ([209.85.166.67]:41921 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726241AbeLKPUf (ORCPT ); Tue, 11 Dec 2018 10:20:35 -0500 Received: by mail-io1-f67.google.com with SMTP id s22so12067021ioc.8 for ; Tue, 11 Dec 2018 07:20:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=irrjfb88dlEk0TZFlLM/kg3lIhZCBBds6j6a1aQVXwU=; b=P50rlAyVrkbKZzXRPU27VkZIk457kMsaQ0Br69WWcGu9jXF5C4xYdVJUrewqSWNMoE kiImIly6xEsKx/z7oemcUAulQ8zJD7OKviIIBXQJ93CPc4eeyGA7S4FHrBgSTVZuqaBZ FtqT4TgfFs2Jj5mlugSzdLLd5yxXKNLoF7H2ToyIG1tOzh6SPXP4Vx4lsODmJgzdvw8Y XvkuCknb56WOgUjQbvOJlFNNerybeLMUviNClajdsqF1DMLSSQAzvbqkC4lrel4TNB3U knTC76reBXdQfFXM8oigMZnVR8YDI6p3H2NfDWMdov12iXxJJj1/KB77ow88xldvc1dv bD3A== 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=irrjfb88dlEk0TZFlLM/kg3lIhZCBBds6j6a1aQVXwU=; b=mdp1EUFhEeMzqZsTuuzBAHPPnNL66z2IQJBNHsAPtOqTtl/raLe2mI7AddF2jIYvH4 QqE2hhuKYFyE2A7w8BnJTzNfP2GJpWeSPLvFomps+PUhCzXk1xRCQp1Qtp26d3BleeYK r9vYzQeR1Ps6NtI6QEOkcam89/05AnoZG2a3VRiY1d6fHEqCkby5aZmtEQHkyCgbpU89 RFo+svS/QYMEpn9nBXtXMAcLXuqE5PuZFGg0Sb/juhD+twfG+bR0JdUXAeCcrqpSym/u hIYwH/6+zmHOh54VkjJh0c2KC6Q3hQZRgrh9uYrXK1RxviTgzxidLTrW0LDbgT7wD6g+ 1P1A== X-Gm-Message-State: AA+aEWYjHWKtBjTWrqefnBSwlfSsFtDf0Vk25aw4+pxxXHWbjK4Ld5zR mw0ZeLtVjbnBwkVddrsmGyVZhX93zQ1mJdIwBR1Mxg== X-Received: by 2002:a6b:1414:: with SMTP id 20mr13378183iou.140.1544541633966; Tue, 11 Dec 2018 07:20:33 -0800 (PST) MIME-Version: 1.0 References: <20181210210139.3336002-1-arnd@arndb.de> In-Reply-To: From: Olof Johansson Date: Tue, 11 Dec 2018 07:20:22 -0800 Message-ID: Subject: Re: [PATCH] sched/fair: move capacity_margin definition into #ifdef To: Vincent Guittot Cc: Arnd Bergmann , Ingo Molnar , Peter Zijlstra , Muchun Song , morten.rasmussen@arm.com, mgorman@techsingularity.net, srikar@linux.vnet.ibm.com, patrick.bellasi@arm.com, Linux Kernel Mailing List 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 Mon, Dec 10, 2018 at 11:46 PM Vincent Guittot wrote: > > Hi Arnd, > > On Mon, 10 Dec 2018 at 22:01, Arnd Bergmann wrote: > > > > Marking the variable static showed that it's only used for > > SMP builds, as seen from this warning: > > > > kernel/sched/fair.c:119:21: error: 'capacity_margin' defined but not used [-Werror=unused-variable] > > static unsigned int capacity_margin = 1280; > > Olof sent a similar patch 2 weeks ago: https://lkml.org/lkml/2018/11/26/115 Yeah, Ingo seems to be high latency right now. :( Anyone else able to pick it up? Peter? -Olof