From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <81344dc3bb1137ca2e54684d0f5d55ef@quanstro.net> References: <73d734eff7a63db5f42b7fe5210f93fc@quanstro.net> <81344dc3bb1137ca2e54684d0f5d55ef@quanstro.net> Date: Tue, 1 Sep 2009 16:22:57 -0700 Message-ID: Subject: Re: [9fans] lowest valid stack address From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 5df1caf8-ead5-11e9-9d60-3106f5b1d025 I believe that the Stack line in /proc/$pid/segment tells you the lowest possible stack address, not the amount in use right now. I looked in the kernel source and tried it in 9vx and it confirms my belief. I don't have a Plan 9 kernel to try it on right now, so maybe I'm wrong. Do you have two different /proc/$pid/segment with different lowest stack addresses on the Stack line? Russ