lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1212681667.3953.159.camel@calx>
Date:	Thu, 05 Jun 2008 11:01:07 -0500
From:	Matt Mackall <mpm@...enic.com>
To:	Thomas Tuttle <ttuttle@...gle.com>
Cc:	akpm@...ux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/5] pagemap: Change kpagecount to return the map
	count, not the reference count, of a page.


On Thu, 2008-06-05 at 11:04 -0400, Thomas Tuttle wrote:
> When trying to use pagemap to calculate the "proportional set size"
> [1] of a process, I discovered that there were often references to
> pages that could not be discovered by kpagecount.  I changed
> kpagecount to return the number of times a page is mapped, rather than
> referenced, so kpagecount is more useful for determining how many
> processes are using a page.

I'm pretty sure this has been suggested before and I was just too
thick-skulled to get it. Yes, the reference count is less useful.

Acked-by: Matt Mackall <mpm@...enic.com>

ps: It's much prefered to send patches inline.

-- 
Mathematics is the supreme nostalgia of our time.

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ