Re: Shared Linraries on Red Hat Linux 9.X
Hi,
I would like to know details regarding mapped_base in Linux.
Got some info from the following searching in the web :
<snip>
- Beginning with kernel version 2.4.19, Linux provides a way to
dynamically
change the default start address for shared libraries on a per-process
basis. This feature is available, if the file /proc/$$/mapped_base
exists.
To change the start address for shared libraries of the oninit
processes,
the new start address needs to be specified by the user root in the
shell
from where oninit is started. For example, the following sets the
start
address of shared libraries to 0xB0000000L:
$ echo $$
29712
$ su root
Password:
# echo -1342177280 > /proc/29712/mapped_base
# exit
$ oninit
Assuming the onconfig parameter SHMBASE is 0x10000000L, this gives 2.5
GB
of contiguous address space available for the database server.
</snip>
Could someone please give details on mapped_base on Linux? How a normal
process which uses shared memory gets affected by this ?
Thanks in advance.
Best Regards,
Amanulla
|