cvs commit: src/sys/vm vm_page.c vm_pageout.c

Alan Cox alc at FreeBSD.org
Sat Feb 14 00:54:38 PST 2004


alc         2004/02/14 00:54:38 PST

  FreeBSD src repository

  Modified files:
    sys/vm               vm_page.c vm_pageout.c 
  Log:
   - Correct a long-standing race condition in vm_page_try_to_cache() that
     could result in a panic "vm_page_cache: caching a dirty page, ...":
     Access to the page must be restricted or removed before calling
     vm_page_cache().  This race condition is identical in nature to that
     which was addressed by vm_pageout.c's revision 1.251.
   - Simplify the code surrounding the fix to this same race condition
     in vm_pageout.c's revision 1.251.  There should be no behavioral
     change.  Reviewed by: tegge
  
  MFC after:      7 days
  
  Revision  Changes    Path
  1.275     +1 -1      src/sys/vm/vm_page.c
  1.252     +2 -3      src/sys/vm/vm_pageout.c


More information about the cvs-src mailing list