Hello,
I have a question, I have a little application and sbrks and then
mmaps to get memory from the system. Originally, this program worked
fine because I had assumed that my applications address space would be
continuous, each subsequent memory request would "mapped" next to each
other, after all this is the address space for this process. However,
what I am finding is that the space is discontiguous, I am getting
back addresses not next to each other. Sometimes the next memory
allocation is several megs above where the previous mapping came from.
Is this possible? Or am I not accounting for something? Yes, I have
intentionally defined malloc, calloc, etc. so they can not be used
under the hood within my code.
BTW, seeing this on 2.6.9 and 2.4.(?) - these are both RH supplied kernels
TIA!
Phy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]