Received: by 10.223.185.116 with SMTP id b49csp1119573wrg; Wed, 14 Feb 2018 11:58:22 -0800 (PST) X-Google-Smtp-Source: AH8x227jK5xY1x77BsFbGcwqcEhcgnxx0YzvKue2UR9uLFmQHwCDua2Vip5J9xTqAINLrYBwThNV X-Received: by 10.98.80.143 with SMTP id g15mr213831pfj.52.1518638301977; Wed, 14 Feb 2018 11:58:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518638301; cv=none; d=google.com; s=arc-20160816; b=gcyl3afoLwU+sYbbK0ceWIctR6o3xbvMlCWt5iO3NmnS/zppTXLmdtZWw6empEOh47 YAAq+6bvIt5yhxn84TZ/BpjSCTUJU3szcFoE5PFDDECSqwdgG9s1ScDPHjocwcarn2y6 yoPRjafK8F3wAz+J9CO+PQic8pJQeMhETugchKIU8S2faLECEWnBGSEQBU+5qoDckwZO 9l3nGIaKMMJJE3cL6Goa+N/wMHuqPOrbh+bW5u6YyN7ye/1umHs0EvMLsghyoIDB4laD aALDprlkYx/3AyuOVJnS3aSQ2QsAmwkMoxvgqqssiVJH1VhdCdPW74AyfFfhv30oHiK/ KjqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=0MYgSCMYo8qWmFN+hjb7XvzYC3CeC3uYR+tOe/ajZHI=; b=SCJK8h4G+irT2C3x2qUkf2uUnJawfBBf/0WLr9tUjt7GrOp4a/kWKdUqOXZK0O+lI4 E/7RhvtViuHgrR1zRcShQ5K0xlS6bQAripZSbs4FBGgjwXV/klPUwd5VRsxxdTMPAzDD EYYrD1uIPY5vq6X7Onaors9gRRPSHkVZXI8V48mUUEJO18NmTSt0G8vGUPrz0tHdCPd8 S22NyuRoSy1YEExoZRY4F/QMebkjdzwhCqJw6UVkjh+Ma+tWhJFGb4U1BnqB80VIMukm RO9hN4etmLnQ3NJcedc7OmVCAv90Kbwo4g+O7elm5JrjQcnyOnn5KaufHOaK1icOWwhu jlfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IZgDS9Xy; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v22si3543755pfe.231.2018.02.14.11.58.07; Wed, 14 Feb 2018 11:58:21 -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=@linaro.org header.s=google header.b=IZgDS9Xy; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031309AbeBNP0y (ORCPT + 99 others); Wed, 14 Feb 2018 10:26:54 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:50200 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031243AbeBNP0v (ORCPT ); Wed, 14 Feb 2018 10:26:51 -0500 Received: by mail-wm0-f66.google.com with SMTP id k87so5627391wmi.0 for ; Wed, 14 Feb 2018 07:26:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=0MYgSCMYo8qWmFN+hjb7XvzYC3CeC3uYR+tOe/ajZHI=; b=IZgDS9Xy8ETlo35wsClHFJBV60MYUkdLRB8/LnBwK9+Oxo77iAJY1sklhLneP3nBFD wr0lXn5/ISEEVfWBXFtr8m6OGzETnkHyLBXcPPdsGtAGXez2rf21Pp3eK31hz0gd4icR 5YGyyaopnusbirvB34fZnr4NzpFLRX7iWRn8Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=0MYgSCMYo8qWmFN+hjb7XvzYC3CeC3uYR+tOe/ajZHI=; b=iR1tM46sqbmToyHr2ZbIYoswLj9QP+gih9byyV3LWmPSNVz2wEk0jvbOATmSyGBmmp 6vymYxXSYLCCHB/IM2OMp3qMcF+DiES3FxZ9tmCoilQnrxj6twpFObbAJ1rkCHcP6Izg P/W9LTAuvFt4QLmFWUPvJfKXaq8JrDsAvSvYvDJonVcQQHPDwclluY0k8Z2Zgo77fjRL aM3A/e06zuH7keSZGjD6BmbVRmVco68egzN3YW40ZpCyJW4nnWkmatFjDM69CL3N6o/a R/TqmKtcJa3cSwOBOqAo5je2yqfg0FQgc+sMoQn7A8218D4DmnSS8C2OPLfBVs+fQiaJ 4/qw== X-Gm-Message-State: APf1xPDfJsDUXfcjhaNoOWpQM0Dg37FR9zvIgkIYitFgFyIXKz7sh3hQ 9pU0l4QxEnoeCZ3YAlIY4RKdaQ== X-Received: by 10.80.177.124 with SMTP id l57mr7455163edd.155.1518622010360; Wed, 14 Feb 2018 07:26:50 -0800 (PST) Received: from localhost.localdomain ([2a01:e0a:f:6020:f0d0:a4bc:1106:ff2c]) by smtp.gmail.com with ESMTPSA id p93sm3361152edp.63.2018.02.14.07.26.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Feb 2018 07:26:49 -0800 (PST) From: Vincent Guittot To: peterz@infradead.org, mingo@kernel.org, linux-kernel@vger.kernel.org, valentin.schneider@arm.com Cc: morten.rasmussen@foss.arm.com, brendan.jackman@arm.com, dietmar.eggemann@arm.com, Vincent Guittot Subject: [PATCH v5 0/3] sched: Update blocked load Date: Wed, 14 Feb 2018 16:26:43 +0100 Message-Id: <1518622006-16089-1-git-send-email-vincent.guittot@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset applies on top of Peter's sched/esting branch minus the last 2 commit: 56eb46798b33 ("sched: Clean up nohz enter/exit") v5: - fix wrong test condition in the newly idle case - fix some typos v4: - fixed some compilation issues raised by kbuild - update comments - reorder condition tests for calling _nohz_idle_balance in newly_idle case in order to make it more readable v3: - add memory barrier - add comments v2: - minor naming updates Vincent Guittot (3): sched: Stop nohz stats when decayed sched: reduce the periodic update duration sched: update blocked load when newly idle kernel/sched/fair.c | 453 ++++++++++++++++++++++++++++++++++----------------- kernel/sched/sched.h | 1 + 2 files changed, 305 insertions(+), 149 deletions(-) -- 2.7.4