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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0F61ECAAD5 for ; Sat, 27 Aug 2022 01:49:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345177AbiH0Bty (ORCPT ); Fri, 26 Aug 2022 21:49:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234350AbiH0Btv (ORCPT ); Fri, 26 Aug 2022 21:49:51 -0400 Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 724F7110E for ; Fri, 26 Aug 2022 18:49:50 -0700 (PDT) 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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.