X-Received: by 2002:a17:90a:2807:b0:1bc:842c:6c51 with SMTP id e7-20020a17090a280700b001bc842c6c51mr10896219pjd.242.1645699799732; Thu, 24 Feb 2022 02:49:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645699799; cv=none; d=google.com; s=arc-20160816; b=q2ZKn+uODX181j42TqyFTTwxZLhW5Zg9BsG15PeO36fergNYAnt5wxgKS7WJphs166 C5h/BT8f4pusKGvOdlYorzQuaYVsWjYTtPEptvESrkErg3YFbvszethwrLNyOMpXV1O+ RvZ9fhZw6idCXXR9DM8TupuZ/JR0g4BiuhuZN8GwqV8os1RgeDq16fgry/2LQx1EsTy2 OJoVH5aTm3j4uaUn2i8jlZJMowbYS/XKeig9GsUeX3rCEaQDI8ImhKC6uRMe035/0EJ1 YWbSATLjmsm0tHDxQs7rf95VILAPWAsG1fMLHHCEv3FO3hlETn/PM4fJ5nrJ0uwiGmtv asig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ceIcUX/9qXWYi7bqd3UebABFIg2gF7nv6q+zr1MeNJA=; b=EB2wufeqzi/MNkNO1htXfd52jo1XctbSiOIoMrsUFn4vx4Tu+zP2E47xQr6Hoo74vu BVz7nK39q76O9tikUm0GH4bmnqyKH2bxCYXYrkLozyMO8jVf875nKdIvgPM2u3fy7DQO NwbPv/mWMjldBfb18pP2bY+bmlKjTMfTjgcoAkoKIkzD7/QfEBkimgTrsx0T4vxsPOki LWd8nG4LG3sT56niHQUVOReF8+E6qMN82j/r9mOPq19eKkDNA79J+6BnrQVkAWGTkSXC 3GtAMTp5r7mSsfsFEISA4eyeHzvhtOqh5Nhn48fP44GiqTSvY441qin5JDwWekw7SZSx Aqsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=JmXSJsus; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h6si2350317plf.480.2022.02.24.02.49.41; Thu, 24 Feb 2022 02:49:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=JmXSJsus; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233518AbiBXKjp (ORCPT + 99 others); Thu, 24 Feb 2022 05:39:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231714AbiBXKjo (ORCPT ); Thu, 24 Feb 2022 05:39:44 -0500 Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98EC525A321 for ; Thu, 24 Feb 2022 02:39:14 -0800 (PST) Received: by mail-yb1-xb31.google.com with SMTP id e140so2857870ybh.9 for ; Thu, 24 Feb 2022 02:39:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ceIcUX/9qXWYi7bqd3UebABFIg2gF7nv6q+zr1MeNJA=; b=JmXSJsusXt5h6HUCTku7gcagy4uYEZ7ywKo+0SGtujyt7clN5JUq5ZuepwcUwQk/on 9rEIiHtqJJaNRs1a35zVx+X7vrS9HQfAJSo2Zkku3QGSBkG3HQ1q4mTRJ8hp/F/on/Md xVLWuo4oNNVHHjH/dyApKEySNU450JWRWle2sXNMijhFTHnQAt1vm4cAD+N1P8aVoDTB z4LpMFV9yCr19JRL/RaQT0nle1Qw/SOAJTpup2wcqj2bARfqHbn5uvs4zMj+8vm1z26f 7VizGQfr89XRWpprdZOGxrH/6UzSvAP5LOzJq5KvfoyoNkDgWz0i81p0ov6SN2346RI9 chyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ceIcUX/9qXWYi7bqd3UebABFIg2gF7nv6q+zr1MeNJA=; b=jPW91biXWyk/s59dMCazeViotVgByB6IoaGGO7tbPi33pulzueuIonEmyejkGVhaT/ OyEb9BRd9ZeczvlpmuDLrNutTz3gVZaC0PHU0s2UQdeaMG+ceZQmGVWeH8v4AzBzk8u7 RD9TEysZE5/Gl1AIT9lGVzyuoAnPAYm4ItfRz5wLU1P1RJVq9Soukl+g0x7QdQfTgpYG dto+usGOgzYKfDKWZX9oX7UlvqUzfJp+8d9BrHecwBeFEc/ngRGgunxVctSfR0YjDPf2 7DXlSXwVDJ8oYQevufZCeV6Ov39F5Uce8tN66MvbjTldSi4mCQJ7UAgWHbDeK9lGXBMo JQog== X-Gm-Message-State: AOAM5327W4LluS0l9Lmj7mx3+hVo7KK8BVN3cW/gjhh5E7RllqSYiWRl UEF1pAGlFtljhF1/0flyFtwZO7nEMylitAESjYFISw== X-Received: by 2002:a25:3d47:0:b0:624:7b42:9f0f with SMTP id k68-20020a253d47000000b006247b429f0fmr1833401yba.254.1645699153839; Thu, 24 Feb 2022 02:39:13 -0800 (PST) MIME-Version: 1.0 References: <20220222112731.33479-1-linmiaohe@huawei.com> In-Reply-To: <20220222112731.33479-1-linmiaohe@huawei.com> From: Muchun Song Date: Thu, 24 Feb 2022 18:38:36 +0800 Message-ID: Subject: Re: [PATCH] mm/hugetlb: use helper macro __ATTR_RW To: Miaohe Lin Cc: Andrew Morton , Mike Kravetz , Linux Memory Management List , LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 22, 2022 at 7:28 PM Miaohe Lin wrote: > > Use helper macro __ATTR_RW to define HSTATE_ATTR to make code more > clear. Minor readability improvement. > > Signed-off-by: Miaohe Lin More simple. Reviewed-by: Muchun Song