Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp271199ybt; Thu, 25 Jun 2020 22:04:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysWBL/sn6D5pokZJmgudMtkCdWpAEk5fvC83mEExaCULMMLcZZ4UW8Q3JVekA3xlQdtiOQ X-Received: by 2002:a17:906:8401:: with SMTP id n1mr981388ejx.479.1593147885774; Thu, 25 Jun 2020 22:04:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593147885; cv=none; d=google.com; s=arc-20160816; b=daqyUkGskc3M9LTIIAlE2OAnvBo4ZgkFQrhM/wwT/UBUzEZ4yBADiNfADHu4wKMwvt Zo3tMr25Byd5jIpGUm/JBKynVwT9uNw6ff6Amnl1VKGIlxkroT5CedqpwvhA1l/AYZRt NIHnG6Ylol+bHMHUynVFUXZsb7gc4nyKRTJGicVyIVpBXzH//UXRF3yCySGCmVbXfDYe 00ORaMjiFBu2n//kyuvWZRUWIwy5OTyoKQ0VMkYAhq8OjeOtfgpJp/DCuH5THYBao8WY JNV4x+JuW78ieq9yRVgFbAXB1Ke1zDvqt/19hqrxRJz1iVisaFrEt0JB8TGNOGv4WQwL FHnA== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=MYSs5eT5+H+DDXa7SQpCZxjLH8NEqlh5crSWC+SUyko=; b=L+aeLmBEDOlqdOKpFwllaaD5ggRZ7cS+XaSg1h6XtyhWUJS6lBmzXHcDBFW3dJiRBI XQW6FcNTJzVopDTxmfGC3ZReamHvM2MMy6aQV6aeDeFWWKRIAIZ6p8qK/1PzY+GdCgQi SCQOSJzxDllXWMi4TgbztGVLCYnG8q5AyP2cVUX+MwKdicf53TqIUwBidbDy5PAhtL0e cJu4VzC8ye4DG5orwLxe+YNwVDUzEifJgBs1wJUrwCWpzghZBCfXWmg201GZvmyYGlOu QrWMwLtC4lsri9yZ+gITt9UfR1dL/Wn3ley9yQJTz0A+sB9/42GvKO3sh9Qp5Sj4w2EJ paNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=V00pRRhq; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id be27si8170208edb.50.2020.06.25.22.04.22; Thu, 25 Jun 2020 22:04:45 -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=@gmail.com header.s=20161025 header.b=V00pRRhq; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726504AbgFZFDx (ORCPT + 99 others); Fri, 26 Jun 2020 01:03:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725306AbgFZFDw (ORCPT ); Fri, 26 Jun 2020 01:03:52 -0400 Received: from mail-qk1-x742.google.com (mail-qk1-x742.google.com [IPv6:2607:f8b0:4864:20::742]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 729C8C08C5C1 for ; Thu, 25 Jun 2020 22:03:52 -0700 (PDT) Received: by mail-qk1-x742.google.com with SMTP id 80so7751523qko.7 for ; Thu, 25 Jun 2020 22:03:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=MYSs5eT5+H+DDXa7SQpCZxjLH8NEqlh5crSWC+SUyko=; b=V00pRRhq9bxphfWep6t8lFVdEhgiJTOz5XqB5xZn39QTiYXdEcqYThHVw+1zvOsDWz VxIsaol4TiPYmXWlkVEfgXEbu6R2eBWBWLTpmmB3wbmvh152AATduW3CUHuCZxYGxBkv 1XXzRDP8iETsZw6EyhkZpwxloV7m0uxDhacshNF+RBwZqyekrwUuqVCzo9ymvn/JMKUb a/vCLo1lm6DMTRkZ40ps+Sm6KU/7z5vBoOwFTFXBYCGJ27C4FHF6IMHs48tpv54R6JaJ C8GUnKhn22o+gHdMrY7wtJU4QVC6X8sdCsk4ng7/J2DLwPubI8WsAE7Opkp+b86rowKM 1guw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=MYSs5eT5+H+DDXa7SQpCZxjLH8NEqlh5crSWC+SUyko=; b=tlw82H12g4BacMZt02XIyNS5n3/jy+nMpj/qQmRyzJyLpuTKYHc1+WuLBZetRtAC0m IznjrtMysQJLcsjIpe0up7p6MRGfQRiAfyMGzYQU+rTnr4wUAB8+79tFzG3yn2cNPgb/ 5SUIlDJo97A/tqr4CSALaYl3KHrE803Hj4WmD1mPsqV1lno1To7Y1aGw/aSGHwdRWIR5 W0KAuBUSZE7hAOxA//0xgwVf1PI5KIBQqPsebmrUHmu4CTaG0so0xC3e7JDZ/T21H7/d GplqQwiOLmIxYPjLtXvHBj1jJUx5Vp1YVRKIlTMZZCqr+580CaT2f6Q6qSJEvLurWFsD n2aA== X-Gm-Message-State: AOAM533C25xh6FSm+EDEUs9/e/RxxuP5sThDjI6CUQKXLE+uBFVwuqIh q/4TsdyH9jq3MWPzyf6OCkZ5304A73xM7O/0Yi/GME01 X-Received: by 2002:a37:6003:: with SMTP id u3mr939689qkb.343.1593147831746; Thu, 25 Jun 2020 22:03:51 -0700 (PDT) MIME-Version: 1.0 References: <1592892828-1934-1-git-send-email-iamjoonsoo.kim@lge.com> <1592892828-1934-7-git-send-email-iamjoonsoo.kim@lge.com> <20200625120830.GG1320@dhcp22.suse.cz> In-Reply-To: <20200625120830.GG1320@dhcp22.suse.cz> From: Joonsoo Kim Date: Fri, 26 Jun 2020 14:03:41 +0900 Message-ID: Subject: Re: [PATCH v3 6/8] mm/gup: use a standard migration target allocation callback To: Michal Hocko Cc: Andrew Morton , Linux Memory Management List , LKML , kernel-team@lge.com, Vlastimil Babka , Christoph Hellwig , Roman Gushchin , Mike Kravetz , Naoya Horiguchi , Joonsoo Kim Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2020=EB=85=84 6=EC=9B=94 25=EC=9D=BC (=EB=AA=A9) =EC=98=A4=ED=9B=84 9:08, M= ichal Hocko =EB=8B=98=EC=9D=B4 =EC=9E=91=EC=84=B1: > > On Tue 23-06-20 15:13:46, Joonsoo Kim wrote: > > From: Joonsoo Kim > > > > There is a well-defined migration target allocation callback. > > It's mostly similar with new_non_cma_page() except considering CMA page= s. > > > > This patch adds a CMA consideration to the standard migration target > > allocation callback and use it on gup.c. > > We already can express that by a missing __GFP_MOVABLE so I would rather > not introduce a duplication in form of another flag. I replied to this question in a previous email. Thanks.