Process memory map in fedora

John Muir muirj at nortelnetworks.com
Tue Aug 24 20:01:55 UTC 2004


Hi,

I'm wondering what changes were put into the fedora kernel and glibc (?)
to enable the process memory map change that I have observed between
another Linux distribution (Mandrake  9.2), and Fedora Core 2.

I believe that the 'flexible-mmap' patch that is part of the -mm kernel
at the moment is involved. Are there any other changes such as in ld.so?

The memory maps in question are output below.

Thanks,

..John


Mandrake 9.2:
[muirj at muirj-1 patches]$ pmap -x $$
23024:   /bin/bash
Address       kB Resident Shared Private Permissions       Name
08048000     608       -       0     608 read/exec         bash
080e0000      24       -       0      24 read/write        bash
080e6000     424       -       0     424 read/write/exec    [ anon ]
40000000      76       -       0      76 read/exec         ld-2.3.2.so
40013000       4       -       0       4 read/write        ld-2.3.2.so
40014000       4       -       0       4 read/write         [ anon ]
40015000       4       -       0       4 read 
LC_IDENTIFICATION
40016000       4       -       0       4 read              LC_MEASUREMENT
40017000       4       -       0       4 read              LC_TELEPHONE
40018000       4       -       0       4 read              LC_ADDRESS
40019000       4       -       0       4 read              LC_NAME
4001a000       4       -       0       4 read              LC_PAPER
4001b000       4       -       0       4 read 
SYS_LC_MESSAGES
4001c000       4       -       0       4 read              LC_MONETARY
4001d000      24       -       0      24 read              LC_COLLATE
40023000       4       -       0       4 read              LC_TIME
40024000      12       -       0      12 read/exec
libtermcap.so.2.0.8
40027000       4       -       0       4 read/write
libtermcap.so.2.0.8
40028000       8       -       0       8 read/exec         libdl-2.3.2.so
4002a000       4       -       0       4 read/write        libdl-2.3.2.so
4002b000    1192       -       0    1192 read/exec         libc-2.3.2.so
40155000      12       -       0      12 read/write        libc-2.3.2.so
40158000      16       -       0      16 read/write         [ anon ]
4015c000       4       -       0       4 read              LC_NUMERIC
4015d000     176       -       0     176 read              LC_CTYPE
40189000       4       -       0       4 read/exec         ISO8859-1.so
4018a000       4       -       0       4 read/write        ISO8859-1.so
40198000      32       -       0      32 read/exec
libnss_files-2.3.2.so
401a0000       4       -       0       4 read/write
libnss_files-2.3.2.so
bfffa000      24       -       0      24 read/write/exec    [ anon ]
--------  ------  ------  ------  ------
total kB    2696       -       0    2696



Fedora Core 2:
4085: -bash
Address Kbytes RSS Anon Locked Mode Mapping
002e0000 40 - - - r-x-- libnss_files-2.3.3.so
002ea000 4 - - - r---- libnss_files-2.3.3.so
002eb000 4 - - - rw--- libnss_files-2.3.3.so
00b09000 84 - - - r-x-- ld-2.3.3.so
00b1e000 4 - - - r---- ld-2.3.3.so
00b1f000 4 - - - rw--- ld-2.3.3.so
00b22000 1108 - - - r-x-- libc-2.3.3.so
00c37000 8 - - - r---- libc-2.3.3.so
00c39000 8 - - - rw--- libc-2.3.3.so
00c3b000 8 - - - rw--- [ anon ]
00c3f000 8 - - - r-x-- libdl-2.3.3.so
00c41000 4 - - - r---- libdl-2.3.3.so
00c42000 4 - - - rw--- libdl-2.3.3.so
00c87000 12 - - - r-x-- libtermcap.so.2.0.8
00c8a000 4 - - - rw--- libtermcap.so.2.0.8
00dbb000 4 - - - r-x-- [ anon ]
08047000 556 - - - r-x-- bash
080d2000 24 - - - rw--- bash
080d8000 16 - - - rw--- [ anon ]
0818b000 132 - - - rw--- [ anon ]
f6e3c000 4 - - - rw--- [ anon ]
f6e3d000 24 - - - r--s- gconv-modules.cache
f6e43000 2048 - - - r---- locale-archive
f7050000 8 - - - rw--- [ anon ]
feefe000 1032 - - - rw--- [ stack ]
ffffd000 4 - - - ----- [ anon ]







More information about the test mailing list