Re: [PATCH 2/2] proc: add ARCH_PFN_OFFSET info to /proc/meminfo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(6/1/12 12:54 PM), Bartlomiej Zolnierkiewicz wrote:
From: Bartlomiej Zolnierkiewicz<b.zolnierkie@xxxxxxxxxxx>
Subject: [PATCH] proc: add ARCH_PFN_OFFSET info to /proc/meminfo

ARCH_PFN_OFFSET is needed for user-space to use together with
/proc/kpage[count,flags] interfaces.

Cc: Matt Mackall<mpm@xxxxxxxxxxx>
Signed-off-by: Bartlomiej Zolnierkiewicz<b.zolnierkie@xxxxxxxxxxx>
Signed-off-by: Kyungmin Park<kyungmin.park@xxxxxxxxxxx>
---
  fs/proc/meminfo.c |    4 ++++
  1 file changed, 4 insertions(+)

Index: b/fs/proc/meminfo.c
===================================================================
--- a/fs/proc/meminfo.c	2012-05-31 16:53:11.589706973 +0200
+++ b/fs/proc/meminfo.c	2012-05-31 17:03:17.719237120 +0200
@@ -168,6 +168,10 @@ static int meminfo_proc_show(struct seq_

  	hugetlb_report_meminfo(m);

+	seq_printf(m,
+		"ArchPFNOffset:    %6lu\n",
+		ARCH_PFN_OFFSET);
+
  	arch_report_meminfo(m);

NAK.

arch specific report should use arch_report_meminfo().

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]