From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F824C433DF for ; Wed, 8 Jul 2020 09:27:55 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 1D17E2065C for ; Wed, 8 Jul 2020 09:27:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1D17E2065C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id AAB218D0036; Wed, 8 Jul 2020 05:27:54 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A5B9F8D000D; Wed, 8 Jul 2020 05:27:54 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 94BEF8D0036; Wed, 8 Jul 2020 05:27:54 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0153.hostedemail.com [216.40.44.153]) by kanga.kvack.org (Postfix) with ESMTP id 7BC3D8D000D for ; Wed, 8 Jul 2020 05:27:54 -0400 (EDT) Received: from smtpin22.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 452D3180AD804 for ; Wed, 8 Jul 2020 09:27:54 +0000 (UTC) X-FDA: 77014381668.22.front80_161806f26ebc Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin22.hostedemail.com (Postfix) with ESMTP id 1C5C718038E6A for ; Wed, 8 Jul 2020 09:27:54 +0000 (UTC) X-HE-Tag: front80_161806f26ebc X-Filterd-Recvd-Size: 1910 Received: from huawei.com (szxga07-in.huawei.com [45.249.212.35]) by imf32.hostedemail.com (Postfix) with ESMTP for ; Wed, 8 Jul 2020 09:27:52 +0000 (UTC) Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id EFDBAB1C5CF60D313BD1; Wed, 8 Jul 2020 17:27:48 +0800 (CST) Received: from [127.0.0.1] (10.174.177.253) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Wed, 8 Jul 2020 17:27:46 +0800 Subject: Re: [PATCH 0/3] clean up some functions in mm/swap_slots.c To: Tim Chen , Andrew Morton , linux-mm , linux-kernel References: <20200430061143.450-1-thunder.leizhen@huawei.com> From: "Leizhen (ThunderTown)" Message-ID: Date: Wed, 8 Jul 2020 17:27:45 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20200430061143.450-1-thunder.leizhen@huawei.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US X-Originating-IP: [10.174.177.253] X-CFilter-Loop: Reflected X-Rspamd-Queue-Id: 1C5C718038E6A X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam04 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi, all: Are these patches acceptable=EF=BC=9F All these three patches are "Acked-by: Tim Chen " two months ago. On 2020/4/30 14:11, Zhen Lei wrote: > When I studied the code of mm/swap_slots.c, I found some places can be = improved. >=20 > Zhen Lei (3): > mm/swap: simplify alloc_swap_slot_cache() > mm/swap: simplify enable_swap_slots_cache() > mm/swap: remove redundant check for swap_slot_cache_initialized >=20 > mm/swap_slots.c | 45 +++++++++++++++++++++------------------------ > 1 file changed, 21 insertions(+), 24 deletions(-) >=20