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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4589AECAAD5 for ; Sat, 27 Aug 2022 01:49:51 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D6F51940008; Fri, 26 Aug 2022 21:49:50 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CF815940007; Fri, 26 Aug 2022 21:49:50 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B9A3C940008; Fri, 26 Aug 2022 21:49:50 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id A365B940007 for ; Fri, 26 Aug 2022 21:49:50 -0400 (EDT) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 7F2B71A077A for ; Sat, 27 Aug 2022 01:49:50 +0000 (UTC) X-FDA: 79843691340.16.DB3A5C5 Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by imf23.hostedemail.com (Postfix) with ESMTP id 1A71314002C for ; Sat, 27 Aug 2022 01:49:49 +0000 (UTC) Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1661564989; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vkhRpcInMl8CDn6FtM8jPf8MiywjKLHZosXiSY+DWPU=; b=L6xk1Kv3MMsufy8I2p1/ciii/QhxjoTWNHmSsHQb/roH7+UctZmVdYo56eADSuj0gj0eT4 GyZIGFoXP04nZemfNcvuy+644/wFy5mM5Pz+L2u9kQiceFNuw9CUUXReuI3w9o9KtfGJFs 6TfP9CIQbiVWaNuLPToBOg36j/YAzPk= MIME-Version: 1.0 Subject: Re: [PATCH 06/10] hugetlb: pass NULL to kobj_to_hstate() if nid is unused X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: <20220826092422.39591-7-linmiaohe@huawei.com> Date: Sat, 27 Aug 2022 09:49:45 +0800 Cc: Andrew Morton , mike.kravetz@oracle.com, Muchun Song , linux-mm@kvack.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: References: <20220826092422.39591-1-linmiaohe@huawei.com> <20220826092422.39591-7-linmiaohe@huawei.com> To: Miaohe Lin X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1661564990; a=rsa-sha256; cv=none; b=KON46A0GB3xhLmqKNWUnrFMUthGnZJPmFd0dwmgtmH86FYE2GMkgLhDO6BAY5EsT7E5HCW lKB9qzM32IbaxGhBvoUYpoeL66PjMwjeL1FyOjKE4ew1Yj4pWMHLEMEuuzys84J3cS7uVp tdupuzLe3sF5ppgkR6SJngearjDO44Q= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=L6xk1Kv3; dmarc=pass (policy=none) header.from=linux.dev; spf=pass (imf23.hostedemail.com: domain of muchun.song@linux.dev designates 188.165.223.204 as permitted sender) smtp.mailfrom=muchun.song@linux.dev ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1661564990; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=vkhRpcInMl8CDn6FtM8jPf8MiywjKLHZosXiSY+DWPU=; b=8UoMzke8Lx98KGqcO/Z0i6cV4MP8xCNhaZXCAA/ydyt5SX6/YXcxw6dpNqp5qA7vmJ2OIi KEOhXMdBd+dwDTNBbC46/A9vzMJxkQrP3T5Ldj/7jaLRle7qw2gjkSHvOu2TMMBPPSnaC/ Y5WQnvhOUyFudCBVbsiZjqcOBB3HPBQ= X-Rspamd-Queue-Id: 1A71314002C Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=L6xk1Kv3; dmarc=pass (policy=none) header.from=linux.dev; spf=pass (imf23.hostedemail.com: domain of muchun.song@linux.dev designates 188.165.223.204 as permitted sender) smtp.mailfrom=muchun.song@linux.dev X-Rspam-User: X-Rspamd-Server: rspam01 X-Stat-Signature: mgn844h3ibezdai19kj5e9wrb7ofxt69 X-HE-Tag: 1661564989-732305 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: > On Aug 26, 2022, at 17:24, Miaohe Lin wrote: > > We can pass NULL to kobj_to_hstate() directly when nid is unused to > simplify the code. No functional change intended. > > Signed-off-by: Miaohe Lin Reviewed-by: Muchun Song Thanks.