The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Programming
linux kernel mm_struct
Tags
programming
Login to Discuss or Reply to this Discussion in Our Community
Thread Tools
Search this Thread
Top Forums
Programming
linux kernel mm_struct
#
1
11-23-2011
vistastar
Registered User
180,
10
Join Date: Jul 2010
Last Activity: 26 September 2018, 11:49 PM EDT
Location: Galaxy
Posts: 180
Thanks Given: 7
Thanked 10 Times in 10 Posts
linux kernel mm_struct
In this struct there are start_stack(start address of user space stack) and stack_vm(mount of pages of stack).
But why it doesn't have a member like end_stack?
Is it right to figure the end address of stack using start_stack+ PAGESIZE*tack_vm?
The start and the end of a stack figured out like this don't match that shown in /proc/PID/maps.
read from mm_struct:
Code
:
Start address of stack:bfeec8a0; Stack_vm:33
read from /proc/PID/maps
Code
:
bfecd000-bfeee000 rw-p 00000000 00:00 0 [stack]
Also, Stack_vm does'nt match "ulimit -s". Why?
Stack_vm shows 33*PAGESIZE = 33*4kb, but ulimit -s shows 8192kb.
vistastar
View Public Profile for vistastar
Find all posts by vistastar
#
2
11-24-2011
CarloM
Registered User
1,119,
264
Join Date: Oct 2011
Last Activity: 14 August 2020, 12:53 PM EDT
Location: London, UK
Posts: 1,119
Thanks Given: 134
Thanked 264 Times in 247 Posts
Possibly useful:
Mel Gorman paper
CarloM
View Public Profile for CarloM
Find all posts by CarloM
Login or Register to Ask a Question
Previous Thread
|
Next Thread
4 More Discussions You Might Find Interesting
1.
Linux
Linux kernel 2.6.20?
Dear All Can you please let me know what is the Linux distribution name for kernel 2.6.20? Thank you in advance
(4 Replies)
Discussion started by: hadimotamedi
4 Replies
2.
Linux
Linux kernel
Hi All ! Is linux kernel preemptive or non-preemptive? My understanding is preemptive kernel. is it correct? Thanks & Regards Venkat Gopu
(4 Replies)
Discussion started by: venkatgopu
4 Replies
3.
UNIX for Dummies Questions & Answers
new linux on old kernel
is it possible to run REDHAT 7 (asplinux 7.2) on kernel 1.XXXX ? wil be FIRST_NEED programs work ?
(0 Replies)
Discussion started by: MR.Z
0 Replies
4.
UNIX for Dummies Questions & Answers
Linux Kernel 0.0.0.1
I'm looking to download the oldest version of the linux kernel that I can, just to look at it. Does anyone know where I can get it (or a slightyly later version) from? Any help on this quest would be great, thanks. Paul
(3 Replies)
Discussion started by: KrazyGuyPaul
3 Replies
Login or Register to Ask a Question
Member Badges and Information Modal
×