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=-6.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 156EDC43457 for ; Thu, 15 Oct 2020 18:51:27 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 6782122203 for ; Thu, 15 Oct 2020 18:51:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Vagho1/6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6782122203 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 92B6D6B005D; Thu, 15 Oct 2020 14:51:25 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 8DC1E6B0062; Thu, 15 Oct 2020 14:51:25 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7CA616B0068; Thu, 15 Oct 2020 14:51:25 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0246.hostedemail.com [216.40.44.246]) by kanga.kvack.org (Postfix) with ESMTP id 4B7406B005D for ; Thu, 15 Oct 2020 14:51:25 -0400 (EDT) Received: from smtpin21.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id D139C180AD811 for ; Thu, 15 Oct 2020 18:51:24 +0000 (UTC) X-FDA: 77375052888.21.wash32_1d1294b27216 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin21.hostedemail.com (Postfix) with ESMTP id 9DC65180442C3 for ; Thu, 15 Oct 2020 18:51:24 +0000 (UTC) X-HE-Tag: wash32_1d1294b27216 X-Filterd-Recvd-Size: 3339 Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by imf09.hostedemail.com (Postfix) with ESMTP for ; Thu, 15 Oct 2020 18:51:24 +0000 (UTC) Received: by mail-pg1-f193.google.com with SMTP id r10so2458122pgb.10 for ; Thu, 15 Oct 2020 11:51:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=4dzZ3wB+/l9v42S9FN6kIPBfKLyAk8Xfq7l5iS5T6+U=; b=Vagho1/6kZJ5F1IOg3Y4OF0QZJsHQMNh5YIf9Cdbp2aOm1Ore4x2Ka5X0Yq9RsAv9r k8RuBx32AHpVu9Ewd9TmzKeuzJy4LVbFQYuFX9FdbjXgiFoYSpJR1+KxeBPrssNy6s3e HiitC5SXUvhBF8qjcC46vAjm5Bti+Y4cFzGLRy7rG126uqSXV/uLuO0LFTz5RUCI4XSS rvf3rxE+bycYFJqAzAo9RFdPGuoN1XCBE5OyKRBD1Ym0FozcUalL9pYFbSdYoyCoAOcj NptAvBE5mGGxad8L8M+jzGedzDO229fKmpk6J/nAoAADz9tPLT4d3g51/OnX5bok92yM hEaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=4dzZ3wB+/l9v42S9FN6kIPBfKLyAk8Xfq7l5iS5T6+U=; b=iVM15aBUzy/a2zXxvo/Mqb5S35Tr6uU0ilqpJ3/EW6cqmlk1aRtSP7HLa2Wc4GQPhb 0HKg/TfOjVr86L7/E+4SG3QybrhlNIdSHxAMdvAjLIK+6flbiHDm1zTfCIhoithrkLjn IKmccn3NTV73v0URLuPk1krjuithuWA+0ojWcD+Zllp+PIrdZ5iYygUzk6acVs/A6tSO tvSr9S+UWtLBORqP4mxhBxbGjfvPq0AqBD4Yls6hSMmKawrRdWXcgXwTEfLCS7zVLYdM g3/hALnKVmfIiQVvrCIUT8Lvl+Ii3jBLqgMdQvegdwGhQJ0IP6LoFO06yjx1wlgLslTl VlBg== X-Gm-Message-State: AOAM533tO7/4ToYxo7WC9gIZ8z1EBC0VeP0yyJRWEP+0I4Zg3fP9HqMT LuFvx8NcmBM6MOCPKE7k7RA= X-Google-Smtp-Source: ABdhPJyA8p7L530bJJxMOtHScL/lhtNd9K6Vg5quDuN3Jw+RAF2xcqhlHPJTWmdm097qSiJ+fJvxzQ== X-Received: by 2002:a62:d0c1:0:b029:155:2e17:ea0 with SMTP id p184-20020a62d0c10000b02901552e170ea0mr6529pfg.55.1602787883143; Thu, 15 Oct 2020 11:51:23 -0700 (PDT) Received: from google.com ([2620:15c:211:1:7220:84ff:fe09:5e58]) by smtp.gmail.com with ESMTPSA id c12sm8083pgd.57.2020.10.15.11.51.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Oct 2020 11:51:22 -0700 (PDT) Date: Thu, 15 Oct 2020 11:51:20 -0700 From: Minchan Kim To: Miaohe Lin , Andrew Morton Cc: , , , , Subject: Re: [PATCH] zsmalloc: Rework the list_add code in insert_zspage() Message-ID: <20201015185120.GB181691@google.com> References: <20201015130107.65195-1-linmiaohe@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201015130107.65195-1-linmiaohe@huawei.com> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000278, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Thu, Oct 15, 2020 at 09:01:07AM -0400, Miaohe Lin wrote: > Rework the list_add code to make it more readable and simplicity. > > Signed-off-by: Miaohe Lin Acked-by: Minchan Kim