This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: double fault -> PAGE_KERNEL flagged memory


Mathieu Desnoyers writes:
 > I suspect that your double fault may come from the systemTAP logging code. Do
 > you have an instrumentation point in any fault handler ?
 > 
 > For Tom : can you flag the RelayFS buffer memory PAGE_KERNEL instead of
 > GFP_KERNEL ? Otherwise, it leads to page faults when accessing those pages when
 > accessed for the first time (seen with LTTng).

It already is PAGE_KERNEL.  The page faults you see with relayfs are
vmalloc page faults i.e. minor faults that just update the kernel part
of the current process's page table with the buffer pages.

Anyway, systemtap doesn't use relayfs unless -b (bulk) is specified on
the command line, so unless that's the case, it can't be relayfs
causing the problem.

tom



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]