Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2538783rwb; Mon, 19 Sep 2022 06:36:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5SSxa0HxV2zG6hUMpxKo5QCveEv0/Jm5cxsVP+5tIXwVqX0f553h4ZVt4tiyz+oJ/R8Amn X-Received: by 2002:a17:907:9605:b0:6f5:c66:7c13 with SMTP id gb5-20020a170907960500b006f50c667c13mr13588879ejc.66.1663594594088; Mon, 19 Sep 2022 06:36:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663594594; cv=none; d=google.com; s=arc-20160816; b=p++0AZpF0ZIKG8AqQlnjiiQ4LJrqdJvGx/4OgZ5ldxvhF7gPNDyMTbJTfyDVzWLlBJ L+EJZ7/iUxa+2mncQOPERm//fKjt+tFelfmYf53q792XvJvd52c/LsEZS20gG/GqLr6/ U7olAyWoforXNLDpd3B6z3nU7QRokuHLG3BqcFUvC5EjItNOxsfrO7Yqsm/8OetqmV6H NKWSQlNRs3+JMWmHt9YWjagF+Ycl8YE8p8duc5ulP2H8sCDnMGJZZeK5m92oIPbxbBuQ 4P/acAneiJli6Zk6lIc7aDWDDdjZCBvoxOnrZkbGIb5lN0YMcdp/+Sl9KVfv5I1wnCP+ 0PTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=tJpygNNITh1u9xwDloalaLqoI943iAIGZRlKPJgD6wg=; b=ENY05sErIrhLmvWrYYHN10/WwQ+9KCS4OitLPwYo4pn9wp15cpikGiQ9zgGMZPomYl 2Q8O3HI0QGG86LxaZc6JAnIBM4WUnZz+5xyYFf5JiDMeKxHzlF70hoC/ULbL7QvDOjus pJ4RUfM4U9t9JE5awuNahjwWwDdS2UsFQ70GZkzBM4s0yHpJv8RjlcaLj8vURE/T+7zu GIV8eJdmrYnDY5pVs0dLK4ilVB5H6TFD80XleEmprIqlbBLrj+Db6J9deKleyJYOQN+E AL511uIrzCK+BYWONFxunHGJPj4Igg3K6p7XzNpO8UxfiDDwWGO33pZHMztMpovwmI+0 5wlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="kGGvh/SY"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q9-20020a50cc89000000b004480d6fefe4si8872598edi.239.2022.09.19.06.36.08; Mon, 19 Sep 2022 06:36:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="kGGvh/SY"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230369AbiISNVs (ORCPT + 99 others); Mon, 19 Sep 2022 09:21:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230218AbiISNVo (ORCPT ); Mon, 19 Sep 2022 09:21:44 -0400 Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FEC1627C; Mon, 19 Sep 2022 06:21:43 -0700 (PDT) Received: by mail-yb1-xb30.google.com with SMTP id 63so1129266ybq.4; Mon, 19 Sep 2022 06:21:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date; bh=tJpygNNITh1u9xwDloalaLqoI943iAIGZRlKPJgD6wg=; b=kGGvh/SYDsBXwkl6lSURIQLZGlSOt0GHhCqLyg4u1r9ESHPVrpeREAYQKQaqfyxwsp SENXSEEXtvneR4LyFu9XmJPbKobhEqen4JZg1AAhcwO/tyRifCPombZNAY+tk2kSG/PW 2AvBe7L/oPMAEkVgdN4FR66C6Zo9oius3GRGhZngonhKp+N5GkYt2GA+EyEHlkC/9IwK dJUiIi+2+5zP6i7PCku8B4eNmA3xTFfNFb15vnSvlmyjwPobQ1GZjjQUvlaQe9wPTdjh Tk22gmaHt1jiqSEcXq9aeg6nERq+Gw6EmMsHRvWeai+zAbeNYv98o7kIa85Y+1a46kcn ULDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=tJpygNNITh1u9xwDloalaLqoI943iAIGZRlKPJgD6wg=; b=KBM9wUT7uduQzlbbIKCk8Z89qtSw7q04o0RmC5rrSLI0P9NoVLwKvKMG3IvMrSPD9y GniAB/k3r4nS2L1lK6LBumOBniJdbdEJ62WfZjXcViNRZN0G5wLG/OTmCYWKBn8flOfw g6eSgIzjxBoO7Gtmk5X3ITceyES7PU1PKp8jWDbfmj51+0WTqbSPcTFQwRYkXa1RyL1C db8YpW9fCtuHlxwMeOvyzi6u58T3GnDiRGIso+BfngxVyImbjvFEYlzOtmVRP6QsFQQx c/Eh3PUSWnD0nmMqkLiKJTgemn66MrGmjD9lG6U2RGkCbs12jSii6M9Wrr5dpYxF29kL xyBw== X-Gm-Message-State: ACrzQf3/uZqRL1GEWT6YQKnDWUVT2mBAVs2Qe9xIzPqNbV6G4u/2+RGO TVIxA6JYokkSMLMt35gAyddncqUzQELaanc5F8SqnzGyRGIjCIVR X-Received: by 2002:a25:6611:0:b0:67b:e0c2:3239 with SMTP id a17-20020a256611000000b0067be0c23239mr13869436ybc.18.1663593702518; Mon, 19 Sep 2022 06:21:42 -0700 (PDT) MIME-Version: 1.0 References: <1891546521.01663549682346.JavaMail.epsvc@epcpadp4> In-Reply-To: <1891546521.01663549682346.JavaMail.epsvc@epcpadp4> From: yong w Date: Mon, 19 Sep 2022 21:21:16 +0800 Message-ID: Subject: Re: [PATCH v4] page_alloc: consider highatomic reserve in watermark fast To: jaewon31.kim@samsung.com Cc: Greg KH , "mhocko@kernel.org" , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , "wang.yong12@zte.com.cn" , YongTaek Lee Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jaewon Kim =E4=BA=8E2022=E5=B9=B49=E6=9C=8819=E6= =97=A5=E5=91=A8=E4=B8=80 09:08=E5=86=99=E9=81=93=EF=BC=9A > > >On Wed, Sep 14, 2022 at 08:46:15AM +0800, yong w wrote: > >> Greg KH =E4=BA=8E2022=E5=B9=B49=E6=9C=881= 3=E6=97=A5=E5=91=A8=E4=BA=8C 21:54?=E9=81=93=EF=BC=9A > >> > >> > > >> > On Tue, Sep 13, 2022 at 09:09:47PM +0800, yong wrote: > >> > > Hello, > >> > > This patch is required to be patched in linux-5.4.y and linux-4.19= .y. > >> > > >> > What is "this patch"? There is no context here :( > >> > > >> Sorry, I forgot to quote the original patch. the patch is as follows > >> > >> f27ce0e page_alloc: consider highatomic reserve in watermark fast > >> > >> > > In addition to that, the following two patches are somewhat relate= d: > >> > > > >> > > 3334a45 mm/page_alloc: use ac->high_zoneidx for classzone_id= x > >> > > 9282012 page_alloc: fix invalid watermark check on a negativ= e value > >> > > >> > In what way? What should be done here by us? > >> > > >> > >> I think these two patches should also be merged. > >> > >> The classzone_idx parameter is used in the zone_watermark_fast > >> functionzone, and 3334a45 use ac->high_zoneidx for classzone_idx. > >> "9282012 page_alloc: fix invalid watermark check on a negative > >> value" fix f27ce0e introduced issues > > > >Ok, I need an ack by all the developers involved in those commits, as > >well as the subsystem maintainer so that I know it's ok to take them. > > > >Can you provide a series of backported and tested patches so that they > >are easy to review? > > > >thanks, > > > >greg k-h > > Hello I didn't know my Act is needed to merge it. > > Acked-by: Jaewon Kim > > I don't understand well why the commit f27ce0e has dependency on 3334a45,= though. > Hello, the classzone_idx is used in the zone_watermark_fast function, and there will be conflicts when f27ce0e is merged. Looking back, the following two patches adjust the classzone_idx parameter. 3334a45 mm/page_alloc: use ac->high_zoneidx for classzone_idx 97a225e mm/page_alloc: integrate classzone_idx and high_zoneidx and 3334a45 is the key modification. Actually, I think 3334a45 can be merged or not. Thanks.