Received: by 10.223.185.116 with SMTP id b49csp3776887wrg; Mon, 26 Feb 2018 06:00:44 -0800 (PST) X-Google-Smtp-Source: AH8x226nbACJJCgntUgGb8DEor5/1XpzGpXI2jRqZc665jFRtycMRF40Kgtt3KXxAf3t5Dc3ERcx X-Received: by 10.98.211.198 with SMTP id z67mr10888818pfk.0.1519653644408; Mon, 26 Feb 2018 06:00:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519653644; cv=none; d=google.com; s=arc-20160816; b=zBq1N313kuQFBLCRd83alu7hGVKzNwC37axMupxnj5YhvXM3W7TwJ2I0hjfsklt2O9 KYgstx1OBmNixsc7ILQpefsVFR9iXqpR8JYY/auJ9SlcnyqI+D7Grm2ZrwREr+JZaqxh OScCE4dMEbvdBz2B0PFiAXNidhbtlJh7GHIwPC8hQ2e8y8ooLRsE8aWvQSbyh/rP3rnf Vdd7gPP3ILdpvteskdlNxxWUTtbaw25KHvB2eOLjd/JIfJ+mECuzmteAocl9wGpirDVB JkmIAKyiL6f7KT7COWskFlTVHiXxdzmrSjp1hSeacRwOro5BInesguptpe1E549uXzxN dXYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=+XCkAoeXUMOUY5IciR++aEV1vVVFoT5rrQfnqYsycio=; b=riwUfbffbyUT5V+msP1DIVL7L7ryJQNMCoOW0I+PQI3ru2rPSeEN9wRxGaX2M8Ox2e Gq7F5LVH3MpSyHlcPsQp/NIyz9dRMRXmTutHC6BJ1pHs4z8TikzEfZ3er7f9uJnBlblg TUKp1hFgnQgGged2AeOGyxxNOy8YLo8a536vcKnal7vAxEpys/xmNRD/T4K/Fn9TBjKD srWlNhPyJNNnWxXaZj2Fmj/HZLjhj4iWqfpYwIzrvv1NhcXZm6WVNt1vKFOkIVBbdDBD 1dcCxVuY5tkKeWyFLvVMGOeWnMUTS17ds4Mfvh2OBiBnNtub2d+aWIay98HEW/Fr4Nh/ Friw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r4si6795924pfb.394.2018.02.26.06.00.29; Mon, 26 Feb 2018 06:00:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753044AbeBZNwt (ORCPT + 99 others); Mon, 26 Feb 2018 08:52:49 -0500 Received: from mga04.intel.com ([192.55.52.120]:54609 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752771AbeBZNws (ORCPT ); Mon, 26 Feb 2018 08:52:48 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Feb 2018 05:52:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,396,1515484800"; d="scan'208";a="29836352" Received: from aaronlu.sh.intel.com ([10.239.159.135]) by FMSMGA003.fm.intel.com with ESMTP; 26 Feb 2018 05:52:45 -0800 From: Aaron Lu To: linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: Andrew Morton , Huang Ying , Dave Hansen , Kemi Wang , Tim Chen , Andi Kleen , Michal Hocko , Vlastimil Babka , Mel Gorman , Matthew Wilcox Subject: [PATCH v3 0/3] mm: improve zone->lock scalability Date: Mon, 26 Feb 2018 21:53:43 +0800 Message-Id: <20180226135346.7208-1-aaron.lu@intel.com> X-Mailer: git-send-email 2.14.3 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Patch 1/3 is a small cleanup suggested by Matthew Wilcox which doesn't affect scalability or performance; Patch 2/3 moves some code in free_pcppages_bulk() outside of zone->lock and has Mel Gorman's ack; Patch 3/3 uses prefetch in free_pcppages_bulk() outside of zone->lock to speedup page merging under zone->lock but Mel Gorman has some concerns. For details, please see their changelogs. Changes from v2: Patch 1/3 is newly added; Patch 2/3 is patch 1/2 in v2 and doesn't have any change except resolving conflicts due to the newly added patch 1/3; Patch 3/3 is patch 2/2 in v2 and only has some changelog updates on concerns part. v1 and v2 was here: https://lkml.org/lkml/2018/1/23/879 Aaron Lu (3): mm/free_pcppages_bulk: update pcp->count inside mm/free_pcppages_bulk: do not hold lock when picking pages to free mm/free_pcppages_bulk: prefetch buddy while not holding lock mm/page_alloc.c | 56 +++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 35 insertions(+), 21 deletions(-) -- 2.14.3