[PATCH] Add ktrace records for user page faults
kostikbel at gmail.com
Tue May 3 14:42:04 UTC 2011
On Tue, May 03, 2011 at 09:59:42AM -0400, John Baldwin wrote:
> On Monday, May 02, 2011 4:16:02 pm Kostik Belousov wrote:
> > Or do the reverse, making vm_fault() do trunc_page() [if doing this
> > change at all].
> Hmm, so I have a new version of the patch that is 1) against 9 rather
> than 8, and 2) pushes the trunc_page() down into vm_fault(). One
> caveat here is that faults on sparc64 and sun4v only have the page
> address, never a sub-page address. I haven't tested this, but it gives
> you an idea of what such a change would look like if we want to do it:
It looks fine to me. I did similar change once for x86 only.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20110503/127a31bd/attachment.pgp
More information about the freebsd-arch