Gentoo Archives: gentoo-amd64

From: Drake Donahue <donahue95@×××××××.net>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: Kernel Config for /proc/self/smaps
Date: Sat, 19 Sep 2009 21:51:03
Message-Id: 1253397060.22345.10.camel@oddman.donahues.us.
In Reply to: [gentoo-amd64] Re: Kernel Config for /proc/self/smaps by Duncan <1i5t5.duncan@cox.net>
1 On Sat, 2009-09-19 at 21:32 +0000, Duncan wrote:
2 > P.V.Anthony posted on Mon, 14 Sep 2009 01:54:53 +0800 as excerpted:
3 >
4 > > Currently configuring kernel version 2.6.26 using "make menuconfig".
5 > >
6 > > Went to "filesystems" and then to "pseudo filesystems". The "proc" has
7 > > already been activated. On this system, I cannot even de-activate the
8 > > "proc". I did that for testing.
9 > >
10 > > Under "proc" there is "/proc/kcore support". That is also activated.
11 > >
12 > > Tried reading the help for the /proc/kcore but nothing there.
13 > >
14 > > I can manually set "CONFIG_PROC_PAGE_MONITOR=y" in the ".config" file.
15 > >
16 > > I would really like to learn how to set this using "make menuconfig".
17 > > Please bear with me and guide me on how to set
18 > > "CONFIG_PROC_PAGE_MONITOR=y" using "make menuconfig".
19 >
20 > [I've been offline for a week due to using bad memory while trying to
21 > flash a BIOS. Naturally it crashed, and I couldn't boot my main
22 > machine. I ended up ordering a pre-flashed BIOS chip from two states a
23 > way... and waiting the few days for it to ship. I feel like I'm just
24 > back from the dead! =:^) ]
25 >
26 > Hmm... perhaps it's elsewhere in the 2.6.26 kernel config. I'm now
27 > running 2.6.31, and will be starting on the 2.6.32 rcs in a week or two...
28 >
29 > It's also possible it's turned off and not even available to you due to
30 > some other dependency. I'd try tracing it if I hadn't just fallen a week
31 > behind, just to see. You can grep "PROC__PAGE_MONITOR" in the kernel
32 > sources and see what comes up if you want. That's what I'd do, tho
33 > having done stuff like that before I might be better equipped to filter
34 > out the uninteresting entries. But you gotta start somewhere. =:^)
35
36 In menuconfig / is a shortcut to a find utility into which entering
37 config_proc_page_monitor takes one to a help page with the following
38 info:
39
40 Symbol: PROC_PAGE_MONITOR [=y]
41 Prompt: Enable /proc page monitoring
42 Defined at fs/proc/Kconfig:61
43 Depends on: PROC_FS && MMU && EMBEDDED
44 Location:
45 -> File systems>
46 -> Pseudo filesystems>
47 -> /proc file system support (PROC_FS [=y]