Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp100628pxj; Thu, 3 Jun 2021 01:47:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7szusQNykewh7xs/tfSQUE6Kvq5ZxuaavNTrqJ9rvYZOSwxOONBxLb4NyufapQDbISMjs X-Received: by 2002:a05:6402:22f3:: with SMTP id dn19mr22640742edb.240.1622710064386; Thu, 03 Jun 2021 01:47:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622710064; cv=none; d=google.com; s=arc-20160816; b=cZtxIiyH+mopuQOxPrZ2SuRiRsOXEbMZRxMOR5aZWsoc3E5JKA7d7R8usUIRcBNqKj Zf4GryBs7n2A02CufJkwqY+iRz1oy+z3mZd6+8woTY/CAGuBNZTB0CJgFjcGJE/C0bNt PU9DcmpBH9SETbZpRQl+/+08JjoSYu7hqsbYZwtSwTwDaAwCIkpJD/u31hla9/4R8fso eTOYAIzCClZFrz/mkFH/C0G34S+WuWsQ6zIXIlI70eNQgoMkPQN3o9Kt1kou7VxK2atA pAfqXpkOFxZL2ElHnDxSMxvwq4xRzp2cD6EKk+IkTvf0Pw7dc/4oXRXArRMvH0jVMw4z 7LVA== 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=vCmxkRGiqOU7RvQ/KztUz+ywDkuMncKr3i0WMneeBG8=; b=qUvC7LaCvyBbQjTVcf1WfGEc90ZAwiY/vOjXYPNRQch/4mmzYYLX6EyewnYHr5Us2A fTQyb+x1Z1vx+2PZdpuEaCExNDLcebTUHCxonGIZ36ARnQnkuR620vq63fubFS7QYuzB hUm/pj69mHUcelsEeaRhlIF3p6ughiPBdKGl9QbwmYM+I1Tgglq55ZFQsTbeBrPNe4DC 5uCtrkj4JFp0nP6UTs6puQ/Z1Rgf0TnjPlp0wJoT4SVWkl35sz3FznQL0P+8eqyj9UZI tKTA414FysF/Cl0FVeOyanXzXtJu4K8evbtUj9D1edD63UrD8dfQS/O1QOJffQ7+UT/u DkDA== 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 y8si2012489edw.228.2021.06.03.01.47.22; Thu, 03 Jun 2021 01:47:44 -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 S229764AbhFCIsR (ORCPT + 99 others); Thu, 3 Jun 2021 04:48:17 -0400 Received: from outbound-smtp50.blacknight.com ([46.22.136.234]:56691 "EHLO outbound-smtp50.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229486AbhFCIsR (ORCPT ); Thu, 3 Jun 2021 04:48:17 -0400 Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp50.blacknight.com (Postfix) with ESMTPS id 111B1FB0FB for ; Thu, 3 Jun 2021 09:46:32 +0100 (IST) Received: (qmail 7428 invoked from network); 3 Jun 2021 08:46:31 -0000 Received: from unknown (HELO stampy.112glenside.lan) (mgorman@techsingularity.net@[84.203.17.255]) by 81.17.254.9 with ESMTPA; 3 Jun 2021 08:46:31 -0000 From: Mel Gorman To: Andrew Morton Cc: Dave Hansen , Vlastimil Babka , Michal Hocko , Jesper Dangaard Brouer , LKML , Linux-MM , Mel Gorman Subject: [PATCH 0/2] Allow high order pages to be stored on PCP Date: Thu, 3 Jun 2021 09:46:19 +0100 Message-Id: <20210603084621.24109-1-mgorman@techsingularity.net> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The per-cpu page allocator (PCP) only handles order-0 pages. With the series "Use local_lock for pcp protection and reduce stat overhead" and "Calculate pcp->high based on zone sizes and active CPUs", it's now feasible to store high-order pages on PCP lists. This small series allows PCP to store "cheap" orders where cheap is determined by PAGE_ALLOC_COSTLY_ORDER and THP-sized allocations. For convenience, the series with the prerequisites are at git://git.kernel.org/pub/scm/linux/kernel/git/mel/linux.git mm-pcphighorder-v1r7 The baseline is 5.13-rc2 because that is what I tested with but the patches rebase cleanly to mmots. include/linux/mmzone.h | 20 ++++- mm/internal.h | 2 +- mm/page_alloc.c | 171 +++++++++++++++++++++++++++++------------ mm/swap.c | 2 +- 4 files changed, 141 insertions(+), 54 deletions(-) -- 2.26.2