linux kernel mm_struct


 
Thread Tools Search this Thread
Top Forums Programming linux kernel mm_struct
# 1  
Old 11-23-2011
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.
# 2  
Old 11-24-2011
Possibly useful:
Mel Gorman paper
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