Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3711220pxb; Mon, 1 Feb 2021 02:39:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJzSRT7bhPzCy0BeFJxwkrogIkeMoSkol95BnJhtGV8GXkYx+RWhxeBYTK3HkqVRbtvlEEdK X-Received: by 2002:aa7:de19:: with SMTP id h25mr6385150edv.145.1612175986968; Mon, 01 Feb 2021 02:39:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612175986; cv=none; d=google.com; s=arc-20160816; b=qNh+VwdMoVnqcenPAgHwkT7bAtWQK+hvRTgvq5i7DOKGBzx4cbN12O2j4QLP4lVuTO sucJTJogjts2Wv8m+8ftKhMPCVOdNy4/tK3k0O9QAbQ4N8jF2WZD5nGhcD3YT0ftyUIR tUB3ul/kilgH8zmZEfvlNEZgnW72+g/5EkNq1AqjMnpCLAKMHEd54o76TfOAZ42q+mMo Nm2tN5R8jk1tKoA66Ap4BtGNgoNHQ2YGZLop5jk6N6mF2Fz+EvxsZ6V1+28KFaiQ5Vfv tNCiIrH1MrMPxChvXlHYTYjo5KfB9pOK761uj1FXJPoqeQhnkkmew0ilUZEIxt77+OU1 yUTA== 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=TYNptx+BsRcNwLlWZ3JoYmpOu8UdcgHRHSI8Y+DvVGk=; b=jwkRgIQ4MqLTzqsaY0OGfxbnG2eYfzIHL4z6pluGW4zFGQWtc/OK8t6OqLnTcngOeK eTtv4jz9AGyF8PiIz7TR0apX+h9CWZnCK9tzevl63LHPfoH8UtysZrawC6UDiPmpO5by Mz2dqganK6D1p9chR6kRwI7XrRz+DD9+joHG5wt2bxlugFn8ReOaJhDwk0oIlm0Bmte5 mYyxBhJroZ/OGuZqBsS1hH5v14Vyj70odEfHcFWILuPYHQei8siRZWd4bK3rcx8K1nhn fIFfwARSohWx73nukRvzGiSjb0gfyqRMLOAnOo9e5mTLFjq0GtXIJq3AisYB6CWOmMU4 bbCA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o18si10186140edq.530.2021.02.01.02.39.20; Mon, 01 Feb 2021 02:39:46 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233048AbhBAKgc (ORCPT + 99 others); Mon, 1 Feb 2021 05:36:32 -0500 Received: from szxga01-in.huawei.com ([45.249.212.187]:4603 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232290AbhBAKga (ORCPT ); Mon, 1 Feb 2021 05:36:30 -0500 Received: from DGGEMM404-HUB.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4DTkpL1QNBzY4pk; Mon, 1 Feb 2021 18:34:34 +0800 (CST) Received: from dggemi759-chm.china.huawei.com (10.1.198.145) by DGGEMM404-HUB.china.huawei.com (10.3.20.212) with Microsoft SMTP Server (TLS) id 14.3.498.0; Mon, 1 Feb 2021 18:35:43 +0800 Received: from dggemi761-chm.china.huawei.com (10.1.198.147) by dggemi759-chm.china.huawei.com (10.1.198.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2106.2; Mon, 1 Feb 2021 18:35:43 +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.2106.006; Mon, 1 Feb 2021 18:35:43 +0800 From: "Song Bao Hua (Barry Song)" To: Dietmar Eggemann , Valentin Schneider , "linux-kernel@vger.kernel.org" CC: "mingo@kernel.org" , "peterz@infradead.org" , "vincent.guittot@linaro.org" , "morten.rasmussen@arm.com" , "mgorman@suse.de" Subject: RE: [PATCH 1/1] sched/topology: Make sched_init_numa() use a set for the deduplicating sort Thread-Topic: [PATCH 1/1] sched/topology: Make sched_init_numa() use a set for the deduplicating sort Thread-Index: AQHW8LvLAz5G3mjdME+poUenwzVodapCmLiAgACND8A= Date: Mon, 1 Feb 2021 10:35:43 +0000 Message-ID: <8b15c0fe619640808e1e26aa7c845bb9@hisilicon.com> References: <20210122123943.1217-1-valentin.schneider@arm.com> <20210122123943.1217-2-valentin.schneider@arm.com> <6000e39e-7d28-c360-9cd6-8798fd22a9bf@arm.com> In-Reply-To: <6000e39e-7d28-c360-9cd6-8798fd22a9bf@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.126.203.222] 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 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRGlldG1hciBFZ2dlbWFu biBbbWFpbHRvOmRpZXRtYXIuZWdnZW1hbm5AYXJtLmNvbV0NCj4gU2VudDogTW9uZGF5LCBGZWJy dWFyeSAxLCAyMDIxIDEwOjU0IFBNDQo+IFRvOiBWYWxlbnRpbiBTY2huZWlkZXIgPHZhbGVudGlu LnNjaG5laWRlckBhcm0uY29tPjsNCj4gbGludXgta2VybmVsQHZnZXIua2VybmVsLm9yZw0KPiBD YzogbWluZ29Aa2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