linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Xunlei Pang <xlpang@linux.alibaba.com>
To: Andrew Morton <akpm@linux-foundation.org>,
	Alexander Duyck <alexander.h.duyck@linux.intel.com>,
	Mel Gorman <mgorman@techsingularity.net>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	Xunlei Pang <xlpang@linux.alibaba.com>
Subject: [PATCH 0/4] mm/page_reporting: Some knobs and fixes
Date: Fri, 26 Mar 2021 17:44:54 +0800	[thread overview]
Message-ID: <1616751898-58393-1-git-send-email-xlpang@linux.alibaba.com> (raw)

Add the following knobs in PATCH 1~3:
 /sys/kernel/mm/page_reporting/reported_kbytes
 /sys/kernel/mm/page_reporting/refault_kbytes
 /sys/kernel/mm/page_reporting/reporting_factor

Fix unexpected user OOM in PATCH 4.

Xunlei Pang (4):
  mm/page_reporting: Introduce free page reported counters
  mm/page_reporting: Introduce free page reporting factor
  mm/page_reporting: Introduce "page_reporting_factor=" boot parameter
  mm/page_reporting: Fix possible user allocation failure

 Documentation/admin-guide/kernel-parameters.txt |   3 +
 include/linux/mmzone.h                          |   3 +
 mm/page_alloc.c                                 |   6 +-
 mm/page_reporting.c                             | 268 ++++++++++++++++++++++--
 4 files changed, 260 insertions(+), 20 deletions(-)

-- 
1.8.3.1



             reply	other threads:[~2021-03-26  9:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-26  9:44 Xunlei Pang [this message]
2021-03-26  9:44 ` [PATCH 1/4] mm/page_reporting: Introduce free page reported counters Xunlei Pang
2021-04-02 18:29   ` Alexander Duyck
2021-03-26  9:44 ` [PATCH 2/4] mm/page_reporting: Introduce free page reporting factor Xunlei Pang
2021-04-02 18:56   ` Alexander Duyck
2021-04-06  6:53     ` Xunlei Pang
2021-03-26  9:44 ` [PATCH 3/4] mm/page_reporting: Introduce "page_reporting_factor=" boot parameter Xunlei Pang
2021-03-26  9:44 ` [PATCH 4/4] mm/page_reporting: Fix possible user allocation failure Xunlei Pang
2021-04-02 19:55   ` Alexander Duyck
2021-04-06  6:55     ` Xunlei Pang
2021-04-02  4:08 ` [PATCH 0/4] mm/page_reporting: Some knobs and fixes Xunlei Pang
2021-04-02 18:17   ` Alexander Duyck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1616751898-58393-1-git-send-email-xlpang@linux.alibaba.com \
    --to=xlpang@linux.alibaba.com \
    --cc=akpm@linux-foundation.org \
    --cc=alexander.h.duyck@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mgorman@techsingularity.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox