Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1766005pxy; Thu, 29 Apr 2021 14:10:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5g2q4DxMUkbeW3Q4S/oBf2+6DGlFc09VpPO/iezpe00igqYaqz5uOQSe2JGJhDAghxEy+ X-Received: by 2002:a62:5402:0:b029:270:8f35:cf17 with SMTP id i2-20020a6254020000b02902708f35cf17mr1742279pfb.68.1619730637092; Thu, 29 Apr 2021 14:10:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619730637; cv=none; d=google.com; s=arc-20160816; b=y3YHPPMvKv2kcwG9bkCMAMGhJYKsp2tM0KrJRMvQteCTOLKFFRSCzY6jGZEEgtBwVA MKR7SXLtAOQYs+F3vEP1gVvO8iz0DxbNSH5S9S9nRnbGtD61KX3l/YGDACIqJHY7JydK xKI5quGk15cH/cE7TCWc/QQu8Cbx8HqWGKx4oojzarMt2OPot5dq2LO8tau7W57G/Mh7 9k3BMDJ7I+GRSaPp0ri1aTcA+PiRimIp8avWO4n2/LfCop0xFEyS4r/0J4UfnMrxyN6l iu67RDp2XEZTQRQcs/BU0m5cGPuF21BKKs3SuuKr3I/PiCL4tBI6PqFLPp/PElIEGS/E A0pA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=x0THaS8R4u8keP0x3y3HqW0xIaxYRKmAv9aASDFL6II=; b=sMo6PbJs+TfkvTMvSUg/rzSSylXCGW1n4nDZjE3CfGiDO0fswH7SlnxP2GkboCDQTq ndOeiMlxRrmFIJaBM/VLXbVTHU/tavxnCduGegVvNXqb8jicxwCnCw171rUQ8Pf2pRh/ zDoz0SFOuzo3IldPeIHi1z8/u5dA0DqJ420ZiHVnpPUfbC6Vb5wMPPTcCEIrzJLOeElX rLY0bHIHyxjsnN9ux/GjL1V+b94N+VtHZsJLeRsKJRt5fSbjkNjiBv6V+jQBpWLyOTBn JHy4nLpg6rPIkXCli3xGHNjd5YPpTdSUVTyl9GCqWDZOwsE5EmhANdn45oTExme8BNFZ 6Org== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hisilicon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mn24si4641760pjb.73.2021.04.29.14.10.24; Thu, 29 Apr 2021 14:10:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hisilicon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234077AbhD2VJk (ORCPT + 99 others); Thu, 29 Apr 2021 17:09:40 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:3096 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233284AbhD2VJk (ORCPT ); Thu, 29 Apr 2021 17:09:40 -0400 Received: from dggeme762-chm.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4FWSgS12HrzWZ7B; Fri, 30 Apr 2021 05:04:52 +0800 (CST) Received: from dggemi761-chm.china.huawei.com (10.1.198.147) by dggeme762-chm.china.huawei.com (10.3.19.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Fri, 30 Apr 2021 05:08:51 +0800 Received: from dggemi761-chm.china.huawei.com ([10.9.49.202]) by dggemi761-chm.china.huawei.com ([10.9.49.202]) with mapi id 15.01.2176.012; Fri, 30 Apr 2021 05:08:50 +0800 From: "Song Bao Hua (Barry Song)" To: Dave Hansen , "tiantao (H)" , "corbet@lwn.net" , "gregkh@linuxfoundation.org" CC: "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Rafael J. Wysocki" , Peter Zijlstra , "Valentin Schneider" , Dave Hansen , Daniel Bristot de Oliveira Subject: RE: [PATCH 1/2] CPU, NUMA topology ABIs: clarify the overflow issue of sysfs pagebuf Thread-Topic: [PATCH 1/2] CPU, NUMA topology ABIs: clarify the overflow issue of sysfs pagebuf Thread-Index: AQHXPMXH0SQBD1qG+ECo3ZrOidSRtqrLBimAgADzHOA= Date: Thu, 29 Apr 2021 21:08:50 +0000 Message-ID: <602918a1e2214ea7bd0890a751975566@hisilicon.com> References: <1619679819-45256-1-git-send-email-tiantao6@hisilicon.com> <1619679819-45256-2-git-send-email-tiantao6@hisilicon.com> <146e051b-603c-a6d3-43d8-d083cf2c8119@intel.com> In-Reply-To: <146e051b-603c-a6d3-43d8-d083cf2c8119@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.126.200.93] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRGF2ZSBIYW5zZW4gW21h aWx0bzpkYXZlLmhhbnNlbkBpbnRlbC5jb21dDQo+IFNlbnQ6IEZyaWRheSwgQXByaWwgMzAsIDIw MjEgMjoyMSBBTQ0KPiBUbzogdGlhbnRhbyAoSCkgPHRpYW50YW82QGhpc2lsaWNvbi5jb20+OyBj b3JiZXRAbHduLm5ldDsNCj4gZ3JlZ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