From: Michal Hocko <mhocko@kernel.org>
To: "He, Roger" <Hongbo.He@amd.com>
Cc: "Koenig, Christian" <Christian.Koenig@amd.com>,
"linux-mm@kvack.org" <linux-mm@kvack.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>
Subject: Re: [PATCH] mm/swap: add function get_total_swap_pages to expose total_swap_pages
Date: Thu, 1 Feb 2018 09:15:20 +0100 [thread overview]
Message-ID: <20180201081520.GF21609@dhcp22.suse.cz> (raw)
In-Reply-To: <MWHPR1201MB0127CEE71F679F43BF0D25B6FDFA0@MWHPR1201MB0127.namprd12.prod.outlook.com>
On Thu 01-02-18 06:13:20, He, Roger wrote:
> Hi Michal:
>
> How about only
> EXPORT_SYMBOL_GPL(total_swap_pages) ?
I've already expressed that messing up with the amount of swap pages is
a wrong approach. You should scale your additional buffers according the
the current memory pressure. There are other users of memory on the
system other than your subsystem.
--
Michal Hocko
SUSE Labs
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2018-02-01 8:15 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-29 8:29 Roger He
2018-01-29 16:31 ` Michal Hocko
2018-01-30 2:56 ` He, Roger
2018-01-30 5:13 ` He, Roger
2018-01-30 7:55 ` Michal Hocko
2018-01-30 9:00 ` Christian König
2018-01-30 10:18 ` Michal Hocko
2018-01-30 10:32 ` Christian König
2018-01-30 12:28 ` Michal Hocko
2018-01-30 12:52 ` Christian König
2018-01-31 5:52 ` He, Roger
2018-02-01 6:13 ` He, Roger
2018-02-01 8:15 ` Michal Hocko [this message]
2018-01-31 7:15 ` Chunming Zhou
2018-01-31 8:08 ` He, Roger
2018-01-31 8:12 ` Christian König
2018-01-31 8:52 ` Chunming Zhou
2018-02-01 5:48 ` He, Roger
2018-02-01 8:03 ` He, Roger
2018-02-02 6:57 ` He, Roger
2018-02-02 7:46 ` Christian König
2018-02-02 7:54 ` He, Roger
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=20180201081520.GF21609@dhcp22.suse.cz \
--to=mhocko@kernel.org \
--cc=Christian.Koenig@amd.com \
--cc=Hongbo.He@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/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