Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2413307ybt; Fri, 3 Jul 2020 08:26:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAkhJKBtYyyKR2cZE6wNdCn16I+KUxZ0XxMq27apwqWg/xkhkjkvQphjhdkDByudEVP1js X-Received: by 2002:a05:6402:b9b:: with SMTP id cf27mr39525129edb.84.1593790002920; Fri, 03 Jul 2020 08:26:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593790002; cv=none; d=google.com; s=arc-20160816; b=RTicFDiV11MrNzu0szj0wh/4R2TipGYIv+Z5MtsI87x7kdThtue32x5/wJZ3CA5wJm RNBIO/hDjnlbkb97dlcABYBYG3YIt0ae5HoOg2LZGl9hiQ2Qh+QunypMP57yRCwsBS26 eobl+FTjl+eFc+Vxqd4ntgsNJ3M3OZOPBK2xCEVCE5wKQvqnQgVjSEKjPEF3zQ6dzi6O z9IjFJurd/CCgHX2L1+GvHnvleVoulmjKrCRJDbnWXpmy3YQu6hlsHPgazfIUKHXncTi lWw7DTU1yqXoRmcjqlhN0Af9E61nD2qUYaxRgQunrbPJk9f6aBdVuXaudJ500ld8j+AX 1AMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=NX9Da+P7YHuSY6TpYzM4nu7mioSmt68nPHk9I7PcvWo=; b=v5LrLtMy5h0qENBV1rsEf05qCrMxMvIGuyCnzKYmCNNEfQ2oOu8F/rTbRnGhbn3cqQ Mpx8K8SaerDqqbfGw/PFcZ4x7ibOX/XflSIMfGWdD8F0UjPj6PFrZ3pE0YovsKI0TQza VEAtm6ukfzFtT31d/e8Kq/sN6q8rDSwzTT5cav3Lp0s5W3aUC2/h8Qk+iD21IJbk/cuO NSMWrVAbYIaeO3Xz9E/yEZIwBIsPzVR9p3mLRsUlfci3cwV7BlJvOr6groxclhA98Jox glbMytcsVrn349nGX+cvGrLz9qPI5HNXjfKbLjscV1pudzEgdtKutwgpqmwCN9POOx6f lX5A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z7si8320568edp.327.2020.07.03.08.26.19; Fri, 03 Jul 2020 08:26:42 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726152AbgGCP0C (ORCPT + 99 others); Fri, 3 Jul 2020 11:26:02 -0400 Received: from mx2.suse.de ([195.135.220.15]:46374 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726063AbgGCP0C (ORCPT ); Fri, 3 Jul 2020 11:26:02 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 65145AC22; Fri, 3 Jul 2020 15:26:01 +0000 (UTC) Subject: Re: [PATCH v3 5/8] mm/migrate: make a standard migration target allocation function To: js1304@gmail.com, Andrew Morton Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-team@lge.com, Christoph Hellwig , Roman Gushchin , Mike Kravetz , Naoya Horiguchi , Michal Hocko , Joonsoo Kim References: <1592892828-1934-1-git-send-email-iamjoonsoo.kim@lge.com> <1592892828-1934-6-git-send-email-iamjoonsoo.kim@lge.com> From: Vlastimil Babka Message-ID: <8713b28d-880e-ffdc-6dd0-bfc65c1b7219@suse.cz> Date: Fri, 3 Jul 2020 17:25:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <1592892828-1934-6-git-send-email-iamjoonsoo.kim@lge.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/23/20 8:13 AM, js1304@gmail.com wrote: > From: Joonsoo Kim > > There are some similar functions for migration target allocation. Since > there is no fundamental difference, it's better to keep just one rather > than keeping all variants. This patch implements base migration target > allocation function. In the following patches, variants will be converted > to use this function. > > Note that PageHighmem() call in previous function is changed to open-code > "is_highmem_idx()" since it provides more readability. > > Signed-off-by: Joonsoo Kim Provided that the "&= ~__GFP_RECLAIM" line is separated patch as you discussed, Acked-by: Vlastimil Babka