[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180201081520.GF21609@dhcp22.suse.cz>
Date: Thu, 1 Feb 2018 09:15:20 +0100
From: Michal Hocko <mhocko@...nel.org>
To: "He, Roger" <Hongbo.He@....com>
Cc: "Koenig, Christian" <Christian.Koenig@....com>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>
Subject: Re: [PATCH] mm/swap: add function get_total_swap_pages to expose
total_swap_pages
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
Powered by blists - more mailing lists