Re: lazy loading of a shared library

From: Peter T. Breuer (ptb_at_oboe.it.uc3m.es)
Date: 08/30/05


Date: Tue, 30 Aug 2005 07:40:34 +0200

Dan Espen <daneNO@spam.mk.telcordia.com> wrote:
> "Peter T. Breuer" <ptb@oboe.it.uc3m.es> writes:
>> Somebody needs to run a debugger over this.

> Why?

Because "loading" a file into memory is different from mapping it.

> After a mmap, the only pages loaded are going
> to be the ones referenced.

If they are referenced.

> All a debugger could tell you is the reference
> pattern of a particular shared lib.

Which is what we want to know. As in "none yet" or "some now".

Peter



Relevant Pages

  • Re: Black screen of death and SYSTEM_SERVICE_EXCEPTION (3b) nt!CmpGetNameControlBlock+108
    ... Run Vista memory test upon boot ... Loading Kernel Symbols ... Debugger entered on first try; Bugcheck callbacks have not been invoked. ... An exception happened while executing a system service routine. ...
    (microsoft.public.development.device.drivers)
  • blue screen memory dump please help
    ... I have been getting the blue screen and memory dump. ... would really appreciate any help Here is what I got when I ran the debugger: ... Loading Kernel Symbols ...
    (microsoft.public.windowsxp.general)
  • Re: Bug check calling nt!RtlQueryEnvironmentVariable_U
    ... > Not all environment values exist in the DriverEntry of the boot driver. ... >> in the debugger it looks like the procedure is paged out (the debugger ... >> Loading Kernel Symbols ... >> Invalid system memory was referenced. ...
    (microsoft.public.development.device.drivers)
  • Re: ten thousand small processes
    ... Stack needs to be executable for the current signal trampoline ... the use of malloc() that is causing your primary ... if there is any heap memory in use at all, no matter what you do, ... either directly, as a 4M page mapping (not used for user processes, ...
    (freebsd-performance)
  • [RFC 1/3] mm: iommu: An API to unify IOMMU, CPU and device memory management
    ... Its use would allow all of the IOMMU to VM, ... +This document covers how to use the Virtual Contiguous Memory Manager ... +fine-grained mapping attribute control. ...
    (Linux-Kernel)