Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3271692rwb; Sun, 25 Sep 2022 03:38:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6DW1Wyl3kzJtqAeYxvD2oaveGUOzqQKDlzur31XOaqo+BbNrr4jeiQDCJNl/f1FrcvRVh7 X-Received: by 2002:a17:907:802:b0:781:8017:b2df with SMTP id wv2-20020a170907080200b007818017b2dfmr13968670ejb.606.1664102298798; Sun, 25 Sep 2022 03:38:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664102298; cv=none; d=google.com; s=arc-20160816; b=A61/gP5+1LwI9lOY4u3NiKOcPNu8H8WVO/1V6WO2ZHccccxmz9DK98Uf/4h5fpXpC8 LUrTLq5nOg1BznvNwWTrlGrsjj8kcQFY2RH/9BeCCteB8b4uq9ENyn+FMZVMzSKy0IRT 8CiVHOVysDSSfV5QJO5Mn2J11CJ99ToAgk9VkqWx1sYVYW0v4InkYvncMqSorS40tTwo cOL772OyvBpaxIVB/3YwshAZRpSq9A++ZEsbLLFmTs5Ks/JrGlChe4dFp5aMAQIzMRv+ +jux6ORRCzrwhMUSS5Szs1zU1Pk0ZzNc5376WYo7GUNnPX2yWI4MlU4Vn8k5Unjjg9i6 SGpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=MnQV08Nm5DUfn+ajbCUcj5NDJLfa2o8gGneNeea/dMc=; b=tqDMm5kvWCynJYH/Qok36g2qZaZT/zpUTZgNpqRRFhHEaBxxEQRgnJwI5NOCQuagU5 SPO3IyT1GL9IobFuRl9nBV4oChbEI+pAmGqScTjyLxXAKBqTnNOw+jp29/Zx5nyEowc9 /G503vhLd/qsP+n2f6EGEcdxw991AAxcixzDzh/FU5BcMNb6R836fmtjqFDvw5uiqRHk BkPOJbPWb+qbxYgSFs0tD1rQVOJjV/dIbxKAuRvaofsV2vwlOVKVJkpBdlPZHbfR5pdT UBo6MgGSCEYHcpPUFkTT/VuNKqbFpR053OmcK+jWu85QkgMBR9xf6u0/m15Nq1zj+BKX Gfsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=FC70Zv07; 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 sh38-20020a1709076ea600b0077988a2a0b2si14659999ejc.549.2022.09.25.03.37.52; Sun, 25 Sep 2022 03:38:18 -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=FC70Zv07; 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 S229548AbiIYKgH (ORCPT + 99 others); Sun, 25 Sep 2022 06:36:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230248AbiIYKfq (ORCPT ); Sun, 25 Sep 2022 06:35:46 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27B5D63F2; Sun, 25 Sep 2022 03:35:45 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id fv3so3929832pjb.0; Sun, 25 Sep 2022 03:35:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date; bh=MnQV08Nm5DUfn+ajbCUcj5NDJLfa2o8gGneNeea/dMc=; b=FC70Zv07OD85ToswH8mb+a4RJKd4bno7ocxgsGDXRzI+Hio5wH7+O8cOnY6S8WIsR9 PMtiCvtsBQ+KKGITl1LNpeB1mT27/w32Ll+fZ45QDImLKFN6jMnt5JDlHpRUwT0BrxRB U/1H9oAN9k4BE3Jd/Rw3JFQvvC4A0ibMHmZEWAtLFvbTC/0xNj4TMNODZewVw+su6U4e MgaAG+S432Qsl3iMawtbtZREGpxXxK+uwtVVVMsFXDHkLBxIEf0UkUmSZDdukjgms888 qJLGhMutVmERg3CdJip2gsaDPQD4OKMtC4D+e7+jlC7hSxpyf9Ws+vTGvCA23RCDvKD8 5lsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date; bh=MnQV08Nm5DUfn+ajbCUcj5NDJLfa2o8gGneNeea/dMc=; b=T5UDXTW528gJuihecg9kVvqo+Fy+NodMzVHPyl7ZMAvpMJPD2nhYuW3xA49i2Dr87r 4cPm9+u1GV3H8b9YPg6uphhGB+JGzEM/HF4D1FHIYctC5Vb/YIcMlFHrVZfUMYpwYbpY V5Y9AJ7n4vSwdWZ/6y53AkYC/IbS3lqQRJPWvOK8NM4nJ/JQcXFLFvoQTw2kuSKAEHDx qOCzHJNz4wgkT4HEMRXHYPOjj7/N+baUqTJKNJV21RnKDflekboHKE7yEzN8uPnRy2v0 e0mLGdvn+iqKRdfKFn1ZO5tR4ogj52tp0DIWkfH+cTJHqdzMGv70n2OHrr7Rl8xh5B24 j0sw== X-Gm-Message-State: ACrzQf2T1MWX+GzwwV2cLU7RZn5/xup8F6yIApObbA8p/EdktLXBfL+c npnToojtDmNpN/h0No86nAc= X-Received: by 2002:a17:90b:1d07:b0:203:6732:e280 with SMTP id on7-20020a17090b1d0700b002036732e280mr30116158pjb.172.1664102144646; Sun, 25 Sep 2022 03:35:44 -0700 (PDT) Received: from ubuntu.localdomain ([117.176.186.252]) by smtp.gmail.com with ESMTPSA id u4-20020a170902e80400b00179c81f6693sm3722183plg.264.2022.09.25.03.35.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Sep 2022 03:35:44 -0700 (PDT) From: wangyong To: gregkh@linuxfoundation.org Cc: jaewon31.kim@samsung.com, linux-kernel@vger.kernel.org, mhocko@kernel.org, stable@vger.kernel.org, wang.yong12@zte.com.cn, yongw.pur@gmail.com Subject: [PATCH v2 stable-4.19 0/3] page_alloc: consider highatomic reserve in watermark fast backports to 4.19 Date: Sun, 25 Sep 2022 03:35:26 -0700 Message-Id: <20220925103529.13716-1-yongw.pur@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SORTED_RECIPS,SPF_HELO_NONE,SPF_PASS autolearn=no 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 Here are the corresponding backports to 4.19. And fix classzone_idx context differences causing patch merge conflicts. Original commit IDS: 3334a45 mm/page_alloc: use ac->high_zoneidx for classzone_idx f27ce0e page_alloc: consider highatomic reserve in watermark fast 9282012 page_alloc: fix invalid watermark check on a negative value Changes from v1: - Add commit information of the original patches. Jaewon Kim (2): page_alloc: consider highatomic reserve in watermark fast page_alloc: fix invalid watermark check on a negative value Joonsoo Kim (1): mm/page_alloc: use ac->high_zoneidx for classzone_idx mm/internal.h | 2 +- mm/page_alloc.c | 69 +++++++++++++++++++++++++++++++++------------------------ 2 files changed, 41 insertions(+), 30 deletions(-) -- 2.7.4