From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753359AbcFTMSG (ORCPT ); Mon, 20 Jun 2016 08:18:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38338 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751304AbcFTMQb (ORCPT ); Mon, 20 Jun 2016 08:16:31 -0400 From: Jiri Olsa To: Ingo Molnar , Peter Zijlstra Cc: lkml , James Hartsock , Rik van Riel , Srivatsa Vaddagiri , Kirill Tkhai Subject: [RFC 0/4] sched/fair: Rebalance tasks based on affinity Date: Mon, 20 Jun 2016 14:15:10 +0200 Message-Id: <1466424914-8981-1-git-send-email-jolsa@kernel.org> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Mon, 20 Jun 2016 12:15:18 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org hi, please consider this to be more of a question for opinions on how to solve this issue ;-) I'm following up on my previous post: http://marc.info/?t=145975837400001&r=1&w=2 The patchset is working for my testcase and our other tests looks good so far, but I'm not sure I haven't broken something else or used the right wheel to implement this. The issue itself and the fix are described in changelog of patch 3/4. thanks for any feedback, jirka --- Jiri Olsa (4): sched/fair: Introduce sched_entity::dont_balance sched/fair: Introduce idle enter/exit balance callbacks sched/fair: Add REBALANCE_AFFINITY rebalancing code sched/fair: Add schedstat debug values for REBALANCE_AFFINITY include/linux/sched.h | 4 +++ kernel/sched/debug.c | 4 +++ kernel/sched/fair.c | 170 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------ kernel/sched/features.h | 1 + kernel/sched/idle.c | 2 ++ kernel/sched/sched.h | 8 ++++++ 6 files changed, 181 insertions(+), 8 deletions(-)