Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5295531pxu; Tue, 22 Dec 2020 13:08:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJzPY8K0lUcNBtRQXXZtpN9jJnu4+tViqzXe2HHx8n5wmV5JoH6TVs3yHKUv1TOZIcl7WnrJ X-Received: by 2002:a17:907:105e:: with SMTP id oy30mr21299986ejb.495.1608671308734; Tue, 22 Dec 2020 13:08:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608671308; cv=none; d=google.com; s=arc-20160816; b=cEUAM6Ynz8FOTmU1GYn7gjFFOI5zxB4OtWOMOwd2RC2H6gAUDsB8bf5vKbvMyhOTzL rgRM7NZCtPl0E4f7TEkQHre1RIa/SwACVZQIC9r6DfneXDxQUl3+ufom/8MQyXAFm3q6 fO7JdqG48vIX2Vmh85+ER/M2TGTLarnB1W/b5cbSQJVgMsn3HESfz8Q8FkpJyuSVl5fV QHi4437ZZE+X5JNhpgtIWAfgXe8plQqthGR1VRj3srFJQEb1NezXO0HpWe9fRAAiM5ML KbDD/DkbVnu9u+F6fp3BDNMQOk6L0i7KQ75KsCQcTpDs9HEQg7y3kGD/7LFiSK7uwJMu eOuA== 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=ajB0I7y4XN1bBCpWtWv8Ta95o7L+rstc1+rcJQC8NPA=; b=f5SuYBmlrlkzA0JYax64yEW2VwHb8VpnCoyzc8jEyP7qnkkbpi7/onh2HF2dCTPY57 xhjvt+evV7h6YvYfKr8bvsDwi/B2+MYDosLgaix2RP8TlttaWcCKB/Gv1yP8gMUQor0b 0eCE4+F+ajGcWdE4vPcomNy734orwIeIDeiGGf6aOC8TIhtBFwosB37Ze3zKL8xaH4vY sKPWD2rI6r439AhrEXMZOAoVq9yq+7oZRvAAYsUPScc0sj00vmwVbSErVf0weQIkHRFa n7hVTwMsCKduwHDBHG/TMQSOCkOoqsz9LDvQ5EWBTTdM6IeBcThY+NYcx2tldsRXGEid pPuQ== 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 hc32si11041670ejc.712.2020.12.22.13.08.05; Tue, 22 Dec 2020 13:08:28 -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 S1728011AbgLVVHT (ORCPT + 99 others); Tue, 22 Dec 2020 16:07:19 -0500 Received: from szxga02-in.huawei.com ([45.249.212.188]:2920 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727863AbgLVVHT (ORCPT ); Tue, 22 Dec 2020 16:07:19 -0500 Received: from dggeme762-chm.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4D0plh6wJQz57xV; Wed, 23 Dec 2020 05:05: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.1913.5; Wed, 23 Dec 2020 05:06:36 +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.002; Wed, 23 Dec 2020 05:06:35 +0800 From: "Song Bao Hua (Barry Song)" To: Vitaly Wool CC: Shakeel Butt , Minchan Kim , "Mike Galbraith" , LKML , linux-mm , Sebastian Andrzej Siewior , NitinGupta , Sergey Senozhatsky , Andrew Morton , "tiantao (H)" Subject: RE: [PATCH] zsmalloc: do not use bit_spin_lock Thread-Topic: [PATCH] zsmalloc: do not use bit_spin_lock Thread-Index: AQHW1mZAeBjE5clI7UKUuMSOCQsyuqoBSTyAgAAghwCAAAhXgIAAhndA//+NyICAAIW5IP//jYeAgACME8CAAA+J8P//k2OAABCudWAAAQz+8P//giUA//96TuD//vIJMIACFikA//6/uBA= Date: Tue, 22 Dec 2020 21:06:35 +0000 Message-ID: <1d0d4a3576e74d128d7849342a7e9faf@hisilicon.com> References: <18669bd607ae9efbf4e00e36532c7aa167d0fa12.camel@gmx.de> <20201220002228.38697-1-vitaly.wool@konsulko.com> <8cc0e01fd03245a4994f2e0f54b264fa@hisilicon.com> <4490cb6a7e2243fba374e40652979e46@hisilicon.com> <08cbef1e43634c4099709be8e99e5d27@hisilicon.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.126.203.7] 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 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogVml0YWx5IFdvb2wgW21h aWx0bzp2aXRhbHkud29vbEBrb25zdWxrby5jb21dDQo+IFNlbnQ6IFR1ZXNkYXksIERlY2VtYmVy IDIyLCAyMDIwIDEwOjQ0IFBNDQo+IFRvOiBTb25nIEJhbyBIdWEgKEJhcnJ5IFNvbmcpIDxzb25n LmJhby5odWFAaGlzaWxpY29uLmNvbT4NCj4gQ2M6IFNoYWtlZWwgQnV0dCA8c2hha2VlbGJAZ29v Z2xlLmNvbT47IE1pbmNoYW4gS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