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


* Tom Zanussi (zanussi@us.ibm.com) wrote:
> It already is PAGE_KERNEL. 

You are right.

> 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.
> 

Generally speaking, what would happen if :

- A page fault handler has a trace point that logs an event in the RelayFS
  buffer.
- This exact write causes a (minor) page fault.

It may not happen often, but I think it would lead to a double fault. Is this
case possible ?


Mathieu


OpenPGP public key:              http://krystal.dyndns.org:8080/key/compudj.gpg
Key fingerprint:     8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68 


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