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-next>] [day] [month] [year] [list]
Message-ID: <CADUXgx7QTWBMxesxgCet5rjpGu-V-xK_-5f2rX9R+v-ggi902A@mail.gmail.com>
Date:	Thu, 9 Oct 2014 17:19:54 +0800
From:	Fengwei Yin <yfw.kernel@...il.com>
To:	LKML <linux-kernel@...r.kernel.org>, linux-mm@...ck.org
Cc:	fengguang.wu@...el.com
Subject: [PATCH] smaps should deal with huge zero page exactly same as normal
 zero page

Hi,
Fengguang found that the RSS/PSS shown in smaps is not correct
if the file is /dev/zero.

Example:
7bea458b3000-7fea458b3000 r--p 00000000 00:13 39989
  /dev/zero
Size:           4294967296 kB
Rss:            10612736 kB
Pss:            10612736 kB
Shared_Clean:          0 kB
Shared_Dirty:          0 kB
Private_Clean:  10612736 kB
Private_Dirty:         0 kB
Referenced:     10612736 kB
Anonymous:             0 kB
AnonHugePages:  10612736 kB
Swap:                  0 kB
KernelPageSize:        4 kB
MMUPageSize:           4 kB
Locked:                0 kB
VmFlags: rd mr mw me

Download attachment "0001-smaps-should-deal-with-huge-zero-page-exactly-same.patch" of type "application/octet-stream" (2225 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ