diff options
author | 2012-12-12 13:52:30 -0800 | |
---|---|---|
committer | 2012-12-12 17:38:35 -0800 | |
commit | 5f24ae585be985691c017b7ab90b3669dca32d6d (patch) | |
tree | dac06218e6a4de27c20a63be1845a9a6be400373 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | hwpoison, hugetlbfs: fix "bad pmd" warning in unmapping hwpoisoned hugepage (diff) | |
download | linux-dev-5f24ae585be985691c017b7ab90b3669dca32d6d.tar.xz linux-dev-5f24ae585be985691c017b7ab90b3669dca32d6d.zip |
hwpoison, hugetlbfs: fix RSS-counter warning
Memory error handling on hugepages can break a RSS counter, which emits a
message like "Bad rss-counter state mm:ffff88040abecac0 idx:1 val:-1".
This is because PageAnon returns true for hugepage (this behavior is
necessary for reverse mapping to work on hugetlbfs).
[akpm@linux-foundation.org: clean up code layout]
Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Andi Kleen <andi.kleen@intel.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions