Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with

看板FB_current作者時間14年前 (2011/11/06 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/37 (看更多)
--ps88Q+2tj/fdI4QF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 05, 2011 at 07:37:48AM -0700, mdf@freebsd.org wrote: > On Sat, Nov 5, 2011 at 7:13 AM, Kostik Belousov <kostikbel@gmail.com> wro= te: > > On Fri, Nov 04, 2011 at 06:03:39PM +0200, Kostik Belousov wrote: > > > > Below is the KBI patch after vm_page_bits_t merge is done. > > Again, I did not spent time converting all in-tree consumers > > from the (potentially) loadable modules to the new KPI until it > > is agreed upon. >=20 > I like my bikeshed orange... >=20 > I would think a more canonical name would be get/set rather than > read/write, especially since these operations aren't reading and > writing the page (neither are they getting the page, but at least set > is pretty unambiguous). Look at the vm_page.h:385. vm_page_set_valid() is already taken. --ps88Q+2tj/fdI4QF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk61UxIACgkQC3+MBN1Mb4j/NwCgmgjqknOevgh+k6Wd/BYhlGLu RwAAoLi7w0iLGDgf50R8hrKiB/aZe2W8 =PzM2 -----END PGP SIGNATURE----- --ps88Q+2tj/fdI4QF--
文章代碼(AID): #1EjNdZMH (FB_current)
討論串 (同標題文章)
完整討論串 (本文為第 2 之 37 篇):
文章代碼(AID): #1EjNdZMH (FB_current)