[lkml]   [1999]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.3.14 shared mem in /proc/memnfo is zero
On Fri, 20 Aug 1999, Oleg Drokin wrote:

>So what is the new meaning of MemShared?

nothing. To calc such information we should do a O(N) algorithm scanning
all the mem_map array. Now si_meminfo runs in O(1). You have less
information but after all the shared counter is just been screwed up by
the page-buffer cache unification of 2.3.x since most page-cache pages now
have the page count > 1 even if they live in cache (and they are not
mapped in userspace memory).

I am not the author of such change but I sure agree with it. (for
debugging you have the shared information in SYSRQ+M, SYSRQ+M runs in O(N)
as usual of course ;).


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:53    [W:0.042 / U:1.892 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site