[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMSv6X37NL0JHQgtbhqdNXM_-bCcxK42YQDHqA9m=uMj3SAZxQ@mail.gmail.com>
Date: Tue, 20 May 2014 00:05:34 +0200
From: Armin Rigo <arigo@...es.org>
To: Dave Hansen <dave.hansen@...el.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
Christoph Hellwig <hch@...radead.org>,
Kenny Simpson <theonetruekenny@...il.com>,
Michal Hocko <mhocko@...e.cz>, linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Peter Zijlstra <peterz@...radead.org>,
Dave Jones <davej@...hat.com>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: remap_file_pages() use
Hi Dave,
On 19 May 2014 19:50, Dave Hansen <dave.hansen@...el.com> wrote:
> We keep the current count as mm->map_count in the kernel, and the limit
> is available because it's a sysctl. It wouldn't be hard to dump
> mm->map_count out in a /proc file somewhere if it would be useful to
> you. Would that work, or is there some other interface that would be
> more convenient?
We can keep an in-process estimate of this value anyway. The sysctl
to get vm.max_map_count is all we need. That is, unless the limit is
moved to be per-user instead of per-process, as I think was discussed
here --- which would complicate further our job :-/
A bientôt,
Armin.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists