Date: Tue, 3 May 2011 17:42:00 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: John Baldwin <jhb@freebsd.org> Cc: arch@freebsd.org Subject: Re: [PATCH] Add ktrace records for user page faults Message-ID: <20110503144200.GH48734@deviant.kiev.zoral.com.ua> In-Reply-To: <201105030959.42948.jhb@freebsd.org> References: <201105021537.19507.jhb@freebsd.org> <201105021602.02668.jhb@freebsd.org> <20110502201602.GD48734@deviant.kiev.zoral.com.ua> <201105030959.42948.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sup2ovFryIwBP1d4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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]. >=20 > 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. --Sup2ovFryIwBP1d4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk3AFDcACgkQC3+MBN1Mb4iZ0QCgi82d/CxoXvo3ntizf27c9PDj PQwAoM4+lMxHjv8SGDXTN4nlO5K92Ald =rkwn -----END PGP SIGNATURE----- --Sup2ovFryIwBP1d4--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110503144200.GH48734>