Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1817191pxy; Thu, 29 Apr 2021 15:33:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfM5nUYZ8lgQLX3+RuvDD444ASJ0N5Z2H8L+DJamP9GUHBAyVrFj06IWd6h3yQrIzwWFX4 X-Received: by 2002:a17:90a:72cb:: with SMTP id l11mr5141609pjk.57.1619735618565; Thu, 29 Apr 2021 15:33:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619735618; cv=none; d=google.com; s=arc-20160816; b=obeg9lqV58vax8synCWL/O1k8hjaHR5A9p4IVjxtcDNTcPWS8f/5g+X8C73i+igDFx VJC/v7SUSF6Sf7uJazXk+jKBxQQoqYMtBRo80w9xh8/oIqZMDUe4fBmHODTtH8XS3BSk zrvzFphAU9yEknNlkQP/qrxKo/rv3GHYR+o2yW5TFkMnd/B2sFDmIqVgbrc2YPQ4RcRD KX7pc4ePnOi4Fkns/wa2Lmdqmn+b0A3HS0UW1nI6BaZDFOgYXnBEkb3n6wH+XtTVJXR9 SGnZPxSQUgZz716oBYN9WvfYQuOXuEGHsIxIJfXnAu1kxWBfXaXlA/7sXZMT7l7HSysA 2sog== 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=cZMnnV6vSVYyjWXdAXCOx2hwXkIgUIJn3L9KncLAqE4=; b=RX7SkkiH5jc4w+w0lQailzthoDSGYKN19EdtAWEBxQp1DJ2I5IofZZ5qRx7qq1EzeX wifiutFtcX2uIhlDRQu8UdjH9KXNFlGhKOku5735Lj/TNFFr3xJ0RtkLRuU2LWy0+1hT nDsDzpcPpmtGHBGb2+hFTcxfonHqdTbvTNAJRHkXsJoET37jhYcXfZSv+8T7NIV73voK P3WXKuUZ51RhITmUJuMrQIainMOjXwwBk2AgifmnAtREOCJokRhO94q43yRTTvb54h/9 Ih3xdWXTRQgo8GCcRbtmaCPor8czKDPVyyneWY2NS5ra2fb5Hp3nF9UzD5jR+OataRpj OzwA== 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 v6si4477828pjr.146.2021.04.29.15.33.25; Thu, 29 Apr 2021 15:33:38 -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 S229619AbhD2Wd0 (ORCPT + 99 others); Thu, 29 Apr 2021 18:33:26 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:3347 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbhD2WdZ (ORCPT ); Thu, 29 Apr 2021 18:33:25 -0400 Received: from dggeme760-chm.china.huawei.com (unknown [172.30.72.56]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4FWVX51FmMz19J7R; Fri, 30 Apr 2021 06:28:37 +0800 (CST) Received: from dggemi761-chm.china.huawei.com (10.1.198.147) by dggeme760-chm.china.huawei.com (10.3.19.106) 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 06:32:35 +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 06:32:30 +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+ECo3ZrOidSRtqrLBimAgADzHOD//4cYAIAAjhuw Date: Thu, 29 Apr 2021 22:32:30 +0000 Message-ID: <4bf6870f7f3942398e4d1fdaa42184c7@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> <602918a1e2214ea7bd0890a751975566@hisilicon.com> <7c663f7e-07e0-6d95-3012-6e31a1b78f7e@intel.com> In-Reply-To: <7c663f7e-07e0-6d95-3012-6e31a1b78f7e@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 MjEgOTozOSBBTQ0KPiBUbzogU29uZyBCYW8gSHVhIChCYXJyeSB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