Received: by 10.223.185.116 with SMTP id b49csp1614798wrg; Sun, 11 Feb 2018 16:47:09 -0800 (PST) X-Google-Smtp-Source: AH8x227coNrtyJ51u1GFxAreLzKzhtiEcTn5m7SnaZtKAprjjDlxV2WNvLmXa/bjqI0ln3Yt8X9p X-Received: by 10.98.61.71 with SMTP id k68mr9932772pfa.133.1518396429467; Sun, 11 Feb 2018 16:47:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518396429; cv=none; d=google.com; s=arc-20160816; b=ogviX6GRIPy7CKlG7Qmd8pWIA8fm2GJ3DK4iDzivLeDxgZW5RV9mI0iIgaFlkco7Ou 7ihywGydzkhoI5JoYr81LBm+pvDEVQxtBanlPW12mHY3KUo1WCAxVF3oAAa00STcQ+XQ z/dS8DXXbL7tLjdOFtwCEQhKyZTwLslFqbOv2nKx3fDVK2qzcJkM9hiYl37tXT10hqzP HiSLZcBzPvwloSw5jdn1VbRAaAdc833ILgaBWaXni5pptQBxXcCF0Gi1GSSCAUI84mTp CDiMZH7+4h8K2MmNODi4fXW6TKJV6//ImG/FkzxFY+GIPNwQls35YD1yVkUnsv3LhzLN IFbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:reply-to:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=/CxsDCDPqmR0F3so1vLHhlmj6ATaL0g9XM4OzSbERq0=; b=NYLXlkwNswuCEkmJvW6BPjnK6sLih4xPkSRQZ2lK+ecfzrRWzyFp9P+U+FtJHVcTQC Mwhodlad1TAFGqJNEj2P20Ui43+Kdxq1UrxtRBdSx5iPaapXCkgSPYhAPxPCUmnp5B0g QVUqpIi/gnzVA5Eyy5pkq7OdzUbPBhkFrUmHrCZ6LMMo9G8XBQc0xGEtf0bUv6O8tZIL 9yezrMZG41c+PSTVAg/TJd02bCVTmcG1EykRXZi4bq5WD1XdAazIEI+BpCloWWoNjL66 3prtK+bIDHFUq2uIC3wBXpp/ROnBddzYfwQNP8kAi9lnqQFz839t9vftjDjJfZt5nrei 5BXg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=exchange.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g27si5494320pfa.172.2018.02.11.16.46.55; Sun, 11 Feb 2018 16:47:09 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=exchange.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932396AbeBLAqP (ORCPT + 99 others); Sun, 11 Feb 2018 19:46:15 -0500 Received: from a2nlsmtp01-04.prod.iad2.secureserver.net ([198.71.225.38]:43062 "EHLO a2nlsmtp01-04.prod.iad2.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932287AbeBLApx (ORCPT ); Sun, 11 Feb 2018 19:45:53 -0500 Received: from linuxonhyperv2.linuxonhyperv.com ([107.180.71.197]) by : HOSTING RELAY : with SMTP id l23teahp7DLOzl23teeD54; Sun, 11 Feb 2018 17:33:37 -0700 x-originating-ip: 107.180.71.197 Received: from kys by linuxonhyperv2.linuxonhyperv.com with local (Exim 4.89_1) (envelope-from ) id 1el23s-0001mT-Sa; Sun, 11 Feb 2018 17:33:36 -0700 From: kys@exchange.microsoft.com To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, devel@linuxdriverproject.org, olaf@aepfle.de, apw@canonical.com, vkuznets@redhat.com, jasowang@redhat.com, leann.ogasawara@canonical.com, marcelo.cerri@canonical.com, sthemmin@microsoft.com Cc: Haiyang Zhang , "K . Y . Srinivasan" Subject: [PATCH 07/12] hv_vmbus: Correct the stale comments regarding cpu affinity Date: Sun, 11 Feb 2018 17:33:15 -0700 Message-Id: <20180212003320.6748-7-kys@exchange.microsoft.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180212003320.6748-1-kys@exchange.microsoft.com> References: <20180212002958.6679-1-kys@exchange.microsoft.com> <20180212003320.6748-1-kys@exchange.microsoft.com> Reply-To: kys@microsoft.com X-CMAE-Envelope: MS4wfFBS4iFExjF+Ue2BP7ayEqngObyuDahQMBHeSI8RIlYOOQ2N7YSuR5UI1lb7Zqa8jHhm8zuUUdfrSVaLBMO2X8j5ssNCUS+y7V6unuCQOVBcg2D0W96Y BNuMi34GnE/zshj/D79Srfok51UxK5FXmC+5TnVJzdRH4/vN5jJncB/SFGgm193fRiy5SuAIQQxZpDMx65o6Su4iAfsKTGShAkkVZIkNdMZlq/AWQxnjCYx9 g5RAvRpuy+Cn36f59pYjw5KYGNKJG8dnKlH7j73MnUC951OlTTwH8xpOycHj5Q9OqkEkmXq+yVMj1B1OLn4yeWL37Ko3gcG7ofP9KtiYDc0oY9nnUvlUlYgc Zc6hVzxA3Zt649f6QRgriK6uCMghGhmYOrcJgXcnX/QMl/g9ojzroz5Oet82QnpZXaVGda8ZeroOl1Oo3wuGyj9ylxg0OaLeCsz4e8uXlppT0TJQk4zl6NyF OEKTp9wDtXK0otRXTK99JQ+CSc4D3LAcjqyhkn3/un7G7McWM3t+rlaYE8jv3efW+/hK1xnn/5Luz4Z4jmyX8WDYNxDUvvTkmLFmqXfnEhlX8ncZ7ZHHXlqN oYyaEktNIVkXXJ6qowKLjSMl Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Haiyang Zhang The comments doesn't match what the current code does, also have a typo. This patch corrects them. Signed-off-by: Haiyang Zhang Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c | 6 ++---- include/linux/hyperv.h | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c index c21020b69114..c6d9d19bc04e 100644 --- a/drivers/hv/channel_mgmt.c +++ b/drivers/hv/channel_mgmt.c @@ -596,10 +596,8 @@ static int next_numa_node_id; /* * Starting with Win8, we can statically distribute the incoming * channel interrupt load by binding a channel to VCPU. - * We do this in a hierarchical fashion: - * First distribute the primary channels across available NUMA nodes - * and then distribute the subchannels amongst the CPUs in the NUMA - * node assigned to the primary channel. + * We distribute the interrupt loads to one or more NUMA nodes based on + * the channel's affinity_policy. * * For pre-win8 hosts or non-performance critical channels we assign the * first CPU in the first NUMA node. diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index 93bd6fcd6e62..2048f3c3b68a 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h @@ -844,7 +844,7 @@ struct vmbus_channel { /* * NUMA distribution policy: - * We support teo policies: + * We support two policies: * 1) Balanced: Here all performance critical channels are * distributed evenly amongst all the NUMA nodes. * This policy will be the default policy. -- 2.15.1