From patchwork Fri Nov 18 10:17:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mel Gorman X-Patchwork-Id: 1899 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp105702wrr; Fri, 18 Nov 2022 02:19:39 -0800 (PST) X-Google-Smtp-Source: AA0mqf42jqMdL6O4ZTfjCb8J80jCxxG/heN14mw40WeP7Fvj4AAyeDNin/5Eb9pBE05ZbEfRf5Z8 X-Received: by 2002:a17:902:ab19:b0:186:b91b:17ec with SMTP id ik25-20020a170902ab1900b00186b91b17ecmr6962536plb.10.1668766779540; Fri, 18 Nov 2022 02:19:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668766779; cv=none; d=google.com; s=arc-20160816; b=UDObAgq5WL6O1w+W7ORMHuOCiObdiQ/zVKYTAXne/ohNpWXWWFh+Gpkju4qSyc27K9 F5zj3xH/6Rx8BrRXT8hNwCvwpV2KRqO0ZbowfrBRyx+Ipm3X6cgHpO8g95byEuI51Nwu 0tKI9/wl1jWtCd3JJw6tmXPxWbXd6Ug21CYvOpxMQvZZ0EuODKoaK2/6Td1XulpLG68p AKrQB49ECV2NKUupVxgiah6HVBj4tk2qu5MKhpO7+0CytJ9LZD7rygv+2yV9dU5/qt9u kMqVGQWwBX+mRl/GgoNjv629gkEGtglximMGiaWxHlA1ApXcOmfz4iBpEPaWXkLxNl5X E7HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=OOnN0SM34ZKiA9DZ8KYVkZimFrn5AlZydLCruMxlq30=; b=HvAJRh4tT2vGx7MJG0YWdeNbWlfxQfrutoBoytjxMWRyj53vq5WiUp//2YoltQ4hE0 a0Gqyy1sMr0qw5d/hnqhIR8d/avLAnqtAPcZu4ZAwOMEjX209k1XMsiN+fZ2dDbI92WL vmiGV7gC9r8YTy9Xqm+j1KU03+65aHFPHxQh02Z7+ce8Fi8N/loJ/mK8EbRyiTSyUVhe jos+7j5lbhd9arvlgNs6yD70eimRJi0vJ0eJhlBiI6WrrBM2i/00VlHmg/gNks3Ohjcz o3WFvvmHF7IFVoMzBfFcsuW8Ln7yBBv2F3ERrztWZZWzg5kwLXsJZ55P0/eLsxi82eoa x0Lg== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mu9-20020a17090b388900b0020d4f2e056csi3614988pjb.151.2022.11.18.02.19.26; Fri, 18 Nov 2022 02:19:39 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235239AbiKRKRc (ORCPT + 99 others); Fri, 18 Nov 2022 05:17:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230523AbiKRKR2 (ORCPT ); Fri, 18 Nov 2022 05:17:28 -0500 Received: from outbound-smtp22.blacknight.com (outbound-smtp22.blacknight.com [81.17.249.190]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9332311174 for ; Fri, 18 Nov 2022 02:17:26 -0800 (PST) Received: from mail.blacknight.com (pemlinmail03.blacknight.ie [81.17.254.16]) by outbound-smtp22.blacknight.com (Postfix) with ESMTPS id DC64CBAADC for ; Fri, 18 Nov 2022 10:17:24 +0000 (GMT) Received: (qmail 3079 invoked from network); 18 Nov 2022 10:17:24 -0000 Received: from unknown (HELO morpheus.112glenside.lan) (mgorman@techsingularity.net@[84.203.198.246]) by 81.17.254.9 with ESMTPA; 18 Nov 2022 10:17:24 -0000 From: Mel Gorman To: Andrew Morton Cc: Hugh Dickins , Yu Zhao , Vlastimil Babka , Marcelo Tosatti , Michal Hocko , Marek Szyprowski , LKML , Linux-MM , Mel Gorman Subject: [PATCH v3 0/2] Leave IRQs enabled for per-cpu page allocations Date: Fri, 18 Nov 2022 10:17:12 +0000 Message-Id: <20221118101714.19590-1-mgorman@techsingularity.net> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749828794863874036?= X-GMAIL-MSGID: =?utf-8?q?1749828794863874036?= Changelog since V2 o Fix list corruption issue (hughd) o Tighen up locking protocol (hughd) o Micro-optimisations (hughd) Changelog since V1 o Use trylock in free_unref_page_list due to IO completion from softirq context (yuzhao) This was a standalone patch but now split in two. The main changes since v2 are fixing the issues exposed by Hugh's shmfs stress test. Patch 1 is a long-standing issue that is technically a bug but happened to work because of how it was used. Patch 2 leaves IRQs enabled for most PCP allocations with more details in the changelog itself.