Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 May 2009 08:30:44 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/vm vnode_pager.c
Message-ID:  <200905090831.n498V0pr009440@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
alc         2009-05-09 08:30:44 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               vnode_pager.c 
  Log:
  SVN rev 191935 on 2009-05-09 08:30:44Z by alc
  
  Fix a race involving vnode_pager_input_smlfs().  Specifically, in the case
  that vnode_pager_input_smlfs() zeroes the page, it should not mark the page
  as valid until after the page is zeroed.  Otherwise, the page could be
  mapped for read access (e.g., by vm_map_pmap_enter()) before the page is
  zeroed.  Reviewed by: tegge
  
  Eliminate gratuitous clearing of the page's dirty mask by
  vnode_pager_input_smlfs().  Instead, assert that the page is clean.
  Reviewed by: tegge
  
  Eliminate some blank lines.
  
  Eliminate pointless calls to pmap_clear_modify() and vm_page_undirty() from
  vnode_pager_input_old().  The page is not mapped.  Therefore, it cannot have
  any page table entries that are modified.
  
  Eliminate an incorrect comment from vnode_pager_generic_getpages().
  
  Revision  Changes    Path
  1.253     +10 -23    src/sys/vm/vnode_pager.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905090831.n498V0pr009440>