This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: notify_page_fault() problem
On Tue, May 01, 2007 at 11:40:29AM -0400, Frank Ch. Eigler wrote:
> Quentin Barnes <qbarnes@urbana.css.mot.com> writes:
>
> > [...] That doesn't matter. Just having the kprobes and kretprobes
> > data structures being in module memory is all that matters. [...]
>
> I recall thinking of extending the systemtap startup code sequence to
> force mapping of the entire module data/text memory, hoping to prevent
> vmalloc faults during execution. Does this sound like a plausible
> hack around such problems?
You can't do that from a module on x86. That is why vmalloc_sync_all() exist.
-Andi