[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: /proc/<pid>/maps




Richard, thanks for the explanation.

On 03/18/2000 01:08:51 AM GMT Richard Henderson wrote:
>
>We could of course unmap that region, but there's not really
>any point.  On no system that I am aware of will it be larger

So an access to this region is an apllication error?
I have such an error, but "x/b" of the address in gdb gave
me a 0 instead of a "cannot access memory" error,
I was confused ... :-)


>than 16 pages, which means that the PMD is already in use,
>which means that we're not really consuming any extra page
>table resources.

This is an example from over here (linux 2.2.14, glibc-2.0.7):
0000020000110000-00000200001f8000 r-xp 0000000000000000 08:07 10332
/usr/X11R6/lib/libX11.so.6.1
00000200001f8000-00000200002f0000 ---p 00000000000e8000 08:07 10332
/usr/X11R6/lib/libX11.so.6.1
00000200002f0000-0000020000302000 rwxp 00000000000e0000 08:07 10332
/usr/X11R6/lib/libX11.so.6.1

The size of the "---p" section is almost 1MB. Am I
calculating s/th wrong?

regards,
chris




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []