Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1692767pxb; Mon, 23 Aug 2021 02:13:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHz1sI0nbG06/VjiwFF/uFKSX/BaUXupe3vlXuAEMy1eSmHcD//Zaezab3fsR14lGIKeT0 X-Received: by 2002:a17:906:4691:: with SMTP id a17mr8814671ejr.302.1629710009446; Mon, 23 Aug 2021 02:13:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629710009; cv=none; d=google.com; s=arc-20160816; b=sUhFAFDIHePLPxMlhd+CEq0tz4Q0d/Wz019W6vcsN437derCRNoeADGy3DW2/X/U5S ebROl1JIwbONAyhL3bSRBhof8YXPSfA66fHI3EFt2LDCaNFZ7tiDqM40DEYz40gPvUt0 bb76LZc9z17+J9KYAgx3Du37KpT5ImhmRQujDLAjAwwNCZ37Dkm1HOHgh27uZUrDUAUk irlyrpuydsfnhRpIITWwFJHo+7dhEljC9foDCVnBNzAm4sD8o6szLShBIpsSGiscWAMR t+rbaD7+xOP0s8KHcwto+qR+JlTxRZr0SVUdzSx9z3JHl+dkNUIQQkUD9CfDweXVASxp q65A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature:dkim-signature; bh=o0qgBD/eS+CqtlhSXbBBQYs3KkbD5dIBT5UcJ1W98IQ=; b=pOBC+RWuVxWFww9wDv4l1UwdNSlqplLZxoVleNeLfInMNu8pYyjZnGnwaX+NEGHtdk e7ceyeCvUqfxLzrVDAHPXkkw3TuZgLmYS+q+JNw2XMOcc4h80aw8zQzlngieBvfw01cI SH6UHM3ozJ7kEMx2juxjY5FIlpuW8F+zOAGLMWet64Cl6edBGmWpgRyaye4Lw6R+RdOL LG5qqMNwQOxCjIcS5DKUPwPR1Dx+/250gYeBLFFF4Pb4Piysm1h5ckiYHCKapeajRJrn 9inFLJsSrfRUGucfehENhZT6xzdgmu50C4aiKyssWYNn7rIPsRHzlxCEiLStXoSVbWvC Ce0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=pYrl3UPt; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=PRHKWS6n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dr16si15147171ejc.154.2021.08.23.02.13.05; Mon, 23 Aug 2021 02:13:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=pYrl3UPt; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=PRHKWS6n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230231AbhHWJM3 (ORCPT + 99 others); Mon, 23 Aug 2021 05:12:29 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:35414 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229726AbhHWJM3 (ORCPT ); Mon, 23 Aug 2021 05:12:29 -0400 Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id E23EC21F31; Mon, 23 Aug 2021 09:11:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1629709905; h=from:from:reply-to: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=o0qgBD/eS+CqtlhSXbBBQYs3KkbD5dIBT5UcJ1W98IQ=; b=pYrl3UPtB3qWryRRrFe2WPw3bjI2U3qKSGLo605IbX0lyHDquoDvyLqLWU9cteA781xDJx hw9YCetVg8ARe89p4wJo8TEZbieKe6IMyEDHoHmMkwQBTpd3AZn3CK/gd1oSGmYo2OR2wj Kta4OgLjCcJvIhDGjFZq7W1gJKWBKCg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1629709905; h=from:from:reply-to: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=o0qgBD/eS+CqtlhSXbBBQYs3KkbD5dIBT5UcJ1W98IQ=; b=PRHKWS6nXCgMqp36wnXDYMAWZhtEB8ZJGFFF2SQaMCPPbGDc9uvzU/4ILK+b0i/EkNxVCW UqQjeLYlj6nkSqAA== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id D2A1813A92; Mon, 23 Aug 2021 09:11:45 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id FiDvMlFmI2GPbAAAGKfGzw (envelope-from ); Mon, 23 Aug 2021 09:11:45 +0000 MIME-Version: 1.0 Date: Mon, 23 Aug 2021 11:11:45 +0200 From: Oscar Salvador To: Miaohe Lin Cc: akpm@linux-foundation.org, naoya.horiguchi@nec.com, mhocko@suse.com, minchan@kernel.org, cgoldswo@codeaurora.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] mm/memory_hotplug: use helper zone_is_zone_device() to simplify the code In-Reply-To: <20210821094246.10149-2-linmiaohe@huawei.com> References: <20210821094246.10149-1-linmiaohe@huawei.com> <20210821094246.10149-2-linmiaohe@huawei.com> User-Agent: Roundcube Webmail Message-ID: <9727e0f1b81dacb3d003dd7bd0f030ba@suse.de> X-Sender: osalvador@suse.de Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-08-21 11:42, Miaohe Lin wrote: > Use helper zone_is_zone_device() to simplify the code and remove some > explicit CONFIG_ZONE_DEVICE codes. > > Signed-off-by: Miaohe Lin Reviewed-by: Oscar Salvador -- Oscar Salvador SUSE L3