Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1478369yba; Wed, 24 Apr 2019 23:56:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqyvRZZtLKfLE0aZJ2TD6GgLAoyKmI+6jIkcx9sTpNT1zFDTvpHFl0hyerSL37yB4neVFpX1 X-Received: by 2002:a17:902:567:: with SMTP id 94mr36432604plf.120.1556175410134; Wed, 24 Apr 2019 23:56:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556175410; cv=none; d=google.com; s=arc-20160816; b=gYvcGEihs2M4IWuaihzFjpcVcG7ARxvYEuufobzSuRxWtUHMz0i4oO77uZ2LTMEOdf SHrHJXVLdm8W2ld3mDFzgs1giLRM+aC26M7LeALrnuXn+YWjT5I+wD7rpmnHWl1UjpnM aAcJLIHq/HAWgh9190vLPZKl5Kfid4vB5AealcdN/mUrbpsctG0WkJkcn7GbvwCzzicM n5v8J0/gms29LiYH4idca5Fr6ZZiek+1dGYZXSnbNMwCddkeAgI+jRqaFQauFes6ucMu N8r1wlBPbYuLsnYpkyx9Of4RWwDloQSFCI9FmRw2/PMLPN9carNL/afYqnWyZZzIi9yc 0Tlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=yb4ofAvzRW76AntrL5s5EiMl5Z+vN1wmoWlh3oNHFRM=; b=uhrqnq49kNo9ZOdNlTQM6KRDdQ6bW5eUxNDYtOe5WgJNpskMPd68y6MDKl+WbNWYED riXkpERjxP7XIr/KwuUq/GThoG0pyPosxEDyD51yzKQXckbNYB+NyBIajfVcxMSJRcQ0 ATOGlBZw5JLoWkWoP5EkTXhZpcQxEc1MdCMfnh3no6eKoYcPnzqytqY9874BDCiTcF0i eaZyha528ruMZkXVsyLF7VOtgx6kN55RQKkPbx2gz94C91ygdc3lisr+4lbajfRZTnvk G75bh4KJlkJiCvvrbLTFwmmnRnnTZRPE9fxFbGO4dnYQviWjsygGs9xaN0QHeu/7yrwi VBLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@digitalocean.com header.s=google header.b=Hhz6FxNy; 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=REJECT sp=REJECT dis=NONE) header.from=digitalocean.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ay3si10621856plb.336.2019.04.24.23.56.33; Wed, 24 Apr 2019 23:56:50 -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=@digitalocean.com header.s=google header.b=Hhz6FxNy; 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=REJECT sp=REJECT dis=NONE) header.from=digitalocean.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731824AbfDXUnx (ORCPT + 99 others); Wed, 24 Apr 2019 16:43:53 -0400 Received: from mail-it1-f196.google.com ([209.85.166.196]:53356 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731232AbfDXUnx (ORCPT ); Wed, 24 Apr 2019 16:43:53 -0400 Received: by mail-it1-f196.google.com with SMTP id z4so4559434itc.3 for ; Wed, 24 Apr 2019 13:43:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=digitalocean.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to; bh=yb4ofAvzRW76AntrL5s5EiMl5Z+vN1wmoWlh3oNHFRM=; b=Hhz6FxNyI06J7v9l5rjT7CMfbCHlEbHhhorXRBrqy7kbsfgraOayDkAwkLV/ryIOah ZnwjzM1KADAkWrOltsHVqBi64bMQ5gja1MC3awFHi1Z48zLw8lWRMu41+zHf007h34Yh nsXOrDV3p0ZlHZVy+fx03uOOX0R6KPAVNq/PM= 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:in-reply-to; bh=yb4ofAvzRW76AntrL5s5EiMl5Z+vN1wmoWlh3oNHFRM=; b=P839KQ3y26WB/FUSB+UmDBWp1FwEpOj0ciAWOA98CH2LdBiFCNduEZg5CAYeMyWXrc NzTlV2x74Diixbvw+8yCmCaJz813JMKZ7i6+kbnyRY4+TQToNuOFWE+34Rp+afUKkBhd y+fxvAztVMtGeIekvxloQahbiUWQBTRadDa+bV3EczE1PUg94jL04Vy10Cr5JF6yX1KR einySezGyxUTh1zutaZ0nsitJwOqkxLa0bnwjcR8vyffe8cPwhjvOoux3nIzu5FwJiY0 QQY5RRMcbDSW6qtGHos4+LhgfjYUrFu77UVvnnM5jwQ5vc48iZf6bonlahYeuPpWMA9M CmJQ== X-Gm-Message-State: APjAAAX6Miuf0A1IqwpVQhw7jlmazeeRQqGHbIQTf3FSuV1848yJE22U ZvJ+BDeN3P2Kt1HXCBQkune1RA== X-Received: by 2002:a24:1f06:: with SMTP id d6mr812525itd.11.1556138631935; Wed, 24 Apr 2019 13:43:51 -0700 (PDT) Received: from swap-tester ([178.128.225.14]) by smtp.gmail.com with ESMTPSA id z141sm8533240itb.7.2019.04.24.13.43.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Apr 2019 13:43:51 -0700 (PDT) From: Vineeth Remanan Pillai To: Tim Chen Cc: Vineeth Remanan Pillai , Nishanth Aravamudan , Julien Desfossez , Peter Zijlstra , Aubrey Li , mingo@kernel.org, tglx@linutronix.de, pjt@google.com, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, subhra.mazumdar@oracle.com, fweisbec@gmail.com, keescook@chromium.org, kerrnel@google.com, Aaron Lu , Valentin Schneider , Mel Gorman , Pawan Gupta , Paolo Bonzini , Phil Auld Subject: Re: [RFC PATCH v2 11/17] sched: Basic tracking of matching tasks Date: Wed, 24 Apr 2019 20:43:36 +0000 Message-Id: <20190424204337.22283-1-vpillai@digitalocean.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <54772e18-2f70-34cc-29ef-b9291f4846e2@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > A minor nitpick. I find keeping the vruntime base readjustment in > core_prio_less probably is more straight forward rather than pass a > core_cmp bool around. The reason I moved the vruntime base adjustment to __prio_less is because, the vruntime seemed alien to __prio_less when looked as a standalone function. I do not have a strong opinion on both. Probably a better approach would be to replace both cpu_prio_less/core_prio_less with prio_less which takes the third arguement 'bool on_same_rq'? Thanks