Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp123946ybz; Thu, 16 Apr 2020 21:00:32 -0700 (PDT) X-Google-Smtp-Source: APiQypKwjoGThchyvxp79BLZajiNPHKHpcrQGFRxIgX5n2/F/W0gl8LYayqJTyigKX2FbdMSE4pg X-Received: by 2002:a17:906:7804:: with SMTP id u4mr1182471ejm.328.1587096032073; Thu, 16 Apr 2020 21:00:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587096032; cv=none; d=google.com; s=arc-20160816; b=SQG7MX2uwAK7ow/004vqAphEJsqPdj9ybUIVsKQvX5Sy449e5rFB8WrYtTGsJsDfkI GeLOgVyMWxzIRMIlzFQQjJauzjdnrflmPI+e8PFy/2EAZFUs8DkywJPNpmG8KZeEu+/o 0voi33w+G9kLSRUG4hsUvY/X5dF8ACiEJx6UBYe9fY3ltZeqA7+cyI+LlD0ltNtpuJ86 L4UJ8mLKDlBo7oX3vS1t4yNFYyjL6zpjMrbw15yGwNKOunOUPdBd17n3OJHgEL6leSEd aoBZ5VrJPeEj4nTZ52BAOraWHtZKCRHhsL0SfJRAvl8920EjgGEm7SK56B4cJYd36/mY SbvQ== 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 :dkim-signature; bh=na7JfmnEuFO5lQLzn6c1hCpd9EfR0hcGB7Np3A/iN7s=; b=UOWf1xCWz7B3aPS4OKT9DQmYBLmDsnFmjokEsL5QqqWiCw9Jm2GcgnYEGoY8rkBwS9 VEzgETLUIv3LC62cdksFrbAjyMoG78NYBuGhnw9TqLWOLvGmSHE1zBPJtNi5RhSFRKjJ nsZZNTuR5BSYNSx1ZEJPzuWU2lRAKOJ1s9SMD1qzzAiPnoGPeJCWWYxVyROdxVB/+kYP kiNw/pZAx6+yzeP569M/trg8ngJaSGaR1EwhQwLSM8DfhZericXFHYky71QenQw9pY5d vw68tUH2b0cowLsaI+jdapOHhmqe26GrvtKHAbbmSBU6ql1bBCx9IpzFwVbz/jFMjLsR m6IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=t1W6xMNu; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 94si14078777edk.562.2020.04.16.21.00.08; Thu, 16 Apr 2020 21:00:32 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=t1W6xMNu; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726568AbgDQD7M (ORCPT + 99 others); Thu, 16 Apr 2020 23:59:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725294AbgDQD7L (ORCPT ); Thu, 16 Apr 2020 23:59:11 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69529C061A0C for ; Thu, 16 Apr 2020 20:59:11 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id n16so473202pgb.7 for ; Thu, 16 Apr 2020 20:59:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=na7JfmnEuFO5lQLzn6c1hCpd9EfR0hcGB7Np3A/iN7s=; b=t1W6xMNu0MqsQxIZjhU3onKgCuLnT/u0kC0W09TFHrVkbMvgBtwcgbvDul/gCZrcEb +DcVkIM6Wm/zB8kc1o9qRNXxMqOMDSfNmankoOmseFARuXex9HESY5WRrblif7DP+p8z vpiXQlN0rTQXefHnbN+Z4k5TWUuhONg5bYp9rFAbtxIrGT8DSddTzcaf5pZY21m+JtwT 5mXyFUO1rY0bSssg7W7YOrUi64S2rlR3wt47vR7aTLWbknONKKtYhIHvrR4GgFWD11C/ Nt8palqFe3BG2yHPtTNGkA6Zgg+yDtHtA7yPjcWe5U7/yBKBA3O6bRAV45nTXd+Hc7Yv hYdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=na7JfmnEuFO5lQLzn6c1hCpd9EfR0hcGB7Np3A/iN7s=; b=SbFEjt497MjmzzWCNO+/jNBc5y38YfulJLY/1lCldRhwjUkvhVjM4r9kcUNQs/nDYP e4iP1V2tOYpK0rj13oukbR745h5HB+quEj6BnTtybmn5ddCQJz9gR2T2+9Pfqw9b5tOg UYzbg+0Snibf25n8EavtvW8agE+zHY85AFj8SLhwBjDldgyDt59yfa4x294jz1oGF6g1 PaORWKadvuHOF7t7Toxd86xoNcd7BwfRusV/g+yyt0Cca8gS2oXBDNRx38PIqqsrk7jD L9gtAit9RJH7nk4mluwWpo0g9ynSsYtlt2seFgNCs1a6PmWVYOqpdLGCyRaB768Uamzf oIsw== X-Gm-Message-State: AGi0PuZjtud0kP4Sej5IBrN+exKkYsDK8GWdGj3Y/5kfEUuf2vfFwzLj GNDYeB8nJunLvjFoJbX2HW0= X-Received: by 2002:a63:e54a:: with SMTP id z10mr1055329pgj.346.1587095950656; Thu, 16 Apr 2020 20:59:10 -0700 (PDT) Received: from localhost.localdomain ([114.206.198.176]) by smtp.gmail.com with ESMTPSA id g12sm3525454pfm.129.2020.04.16.20.59.07 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Apr 2020 20:59:10 -0700 (PDT) From: js1304@gmail.com X-Google-Original-From: iamjoonsoo.kim@lge.com To: Andrew Morton Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Johannes Weiner , Michal Hocko , Minchan Kim , Vlastimil Babka , Mel Gorman , kernel-team@lge.com, Ye Xiaolong , David Rientjes , Baoquan He , Joonsoo Kim Subject: [PATCH v5 0/2] integrate classzone_idx and high_zoneidx Date: Fri, 17 Apr 2020 12:58:41 +0900 Message-Id: <1587095923-7515-1-git-send-email-iamjoonsoo.kim@lge.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Joonsoo Kim Hello, This patchset is follow-up of the problem reported and discussed two years ago [1, 2]. The problem this patchset solves is related to the classzone_idx on the NUMA system. It causes a problem when the lowmem reserve protection exists for some zones on a node that do not exist on other nodes. This problem is reported two years ago, and, at that time, the solution got general agreements [2]. But, due to my laziness, it's not upstreamed. Now, I tried again. This patchset is based on next-20200416 git tree. Thanks. Changes on v5 - rebase onto the next-20200416 - add review tags Changes on v4 - improve the commit message again Changes on v3 - improve the commit message - remove useless accessor, ac_classzone_idx() [1]: http://lkml.kernel.org/r/20180102063528.GG30397@yexl-desktop [2]: http://lkml.kernel.org/r/1525408246-14768-1-git-send-email-iamjoonsoo.kim@lge.com Joonsoo Kim (2): mm/page_alloc: use ac->high_zoneidx for classzone_idx mm/page_alloc: integrate classzone_idx and high_zoneidx include/linux/compaction.h | 9 ++-- include/linux/mmzone.h | 12 ++--- include/trace/events/compaction.h | 22 ++++---- include/trace/events/vmscan.h | 14 +++-- mm/compaction.c | 64 +++++++++++------------ mm/internal.h | 21 +++++--- mm/memory_hotplug.c | 6 +-- mm/oom_kill.c | 4 +- mm/page_alloc.c | 60 +++++++++++----------- mm/slab.c | 4 +- mm/slub.c | 4 +- mm/vmscan.c | 105 ++++++++++++++++++++------------------ 12 files changed, 175 insertions(+), 150 deletions(-) -- 2.7.4