Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: /proc/<pid>/maps
@ 2000-03-18  1:50 cpg
  2000-03-18  2:05 ` /proc/<pid>/maps Richard Henderson
  0 siblings, 1 reply; 4+ messages in thread
From: cpg @ 2000-03-18  1:50 UTC (permalink / raw)
  To: axp-list



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



^ permalink raw reply	[flat|nested] 4+ messages in thread
* /proc/<pid>/maps
@ 2000-03-17 23:48 cpg
  2000-03-18  1:08 ` /proc/<pid>/maps Richard Henderson
  0 siblings, 1 reply; 4+ messages in thread
From: cpg @ 2000-03-17 23:48 UTC (permalink / raw)
  To: axp-list



I've got a question:

If I look at /proc/<pid>/maps I've got 3 entries for every shared lib
the process uses. On i386 there are only 2 entries for each shlib
(I assume code + data).
The additional entry on alpha has flags "---p" (no read, no write  no
execute,
I don't know what p means).

What is the purpose of this mapping and where does it come from?

regards,
chris



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-03-18  2:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-18  1:50 /proc/<pid>/maps cpg
2000-03-18  2:05 ` /proc/<pid>/maps Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
2000-03-17 23:48 /proc/<pid>/maps cpg
2000-03-18  1:08 ` /proc/<pid>/maps Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox