From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Mp7pe-0003QI-LZ for garchives@archives.gentoo.org; Sat, 19 Sep 2009 21:51:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 810DAE0766; Sat, 19 Sep 2009 21:51:01 +0000 (UTC) Received: from QMTA13.westchester.pa.mail.comcast.net (qmta13.westchester.pa.mail.comcast.net [76.96.59.243]) by pigeon.gentoo.org (Postfix) with ESMTP id 50A86E0766 for ; Sat, 19 Sep 2009 21:51:01 +0000 (UTC) Received: from OMTA10.westchester.pa.mail.comcast.net ([76.96.62.28]) by QMTA13.westchester.pa.mail.comcast.net with comcast id ilb11c0060cZkys5Dlr2uD; Sat, 19 Sep 2009 21:51:02 +0000 Received: from [192.168.0.4] ([68.58.209.177]) by OMTA10.westchester.pa.mail.comcast.net with comcast id ilr11c00C3qBUfY3Wlr1KV; Sat, 19 Sep 2009 21:51:01 +0000 Subject: Re: [gentoo-amd64] Re: Kernel Config for /proc/self/smaps From: Drake Donahue To: gentoo-amd64@lists.gentoo.org In-Reply-To: References: <4AACA742.8040908@singnet.com.sg> <4AAD31ED.7090001@singnet.com.sg> Content-Type: text/plain Date: Sat, 19 Sep 2009 17:51:00 -0400 Message-Id: <1253397060.22345.10.camel@oddman.donahues.us.> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@lists.gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 7bit X-Archives-Salt: e8925455-3b3c-4023-9790-d9dc0de4f71e X-Archives-Hash: f5514580921dfd0e58b2f85f52d92695 On Sat, 2009-09-19 at 21:32 +0000, Duncan wrote: > P.V.Anthony posted on Mon, 14 Sep 2009 01:54:53 +0800 as excerpted: > > > Currently configuring kernel version 2.6.26 using "make menuconfig". > > > > Went to "filesystems" and then to "pseudo filesystems". The "proc" has > > already been activated. On this system, I cannot even de-activate the > > "proc". I did that for testing. > > > > Under "proc" there is "/proc/kcore support". That is also activated. > > > > Tried reading the help for the /proc/kcore but nothing there. > > > > I can manually set "CONFIG_PROC_PAGE_MONITOR=y" in the ".config" file. > > > > I would really like to learn how to set this using "make menuconfig". > > Please bear with me and guide me on how to set > > "CONFIG_PROC_PAGE_MONITOR=y" using "make menuconfig". > > [I've been offline for a week due to using bad memory while trying to > flash a BIOS. Naturally it crashed, and I couldn't boot my main > machine. I ended up ordering a pre-flashed BIOS chip from two states a > way... and waiting the few days for it to ship. I feel like I'm just > back from the dead! =:^) ] > > Hmm... perhaps it's elsewhere in the 2.6.26 kernel config. I'm now > running 2.6.31, and will be starting on the 2.6.32 rcs in a week or two... > > It's also possible it's turned off and not even available to you due to > some other dependency. I'd try tracing it if I hadn't just fallen a week > behind, just to see. You can grep "PROC__PAGE_MONITOR" in the kernel > sources and see what comes up if you want. That's what I'd do, tho > having done stuff like that before I might be better equipped to filter > out the uninteresting entries. But you gotta start somewhere. =:^) In menuconfig / is a shortcut to a find utility into which entering config_proc_page_monitor takes one to a help page with the following info: Symbol: PROC_PAGE_MONITOR [=y] Prompt: Enable /proc page monitoring Defined at fs/proc/Kconfig:61 Depends on: PROC_FS && MMU && EMBEDDED Location: -> File systems> -> Pseudo filesystems> -> /proc file system support (PROC_FS [=y]