cvs commit: src/sys/vm vm_page.c

Alan Cox alc at FreeBSD.org
Wed Nov 17 04:49:28 GMT 2004


alc         2004-11-17 04:49:27 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/vm               vm_page.c 
  Log:
  MFC revision 1.293
   Correct two errors in PG_BUSY management by vm_page_cowfault().  Both
   errors are in rarely executed paths.
   1. Each time the retry_alloc path is taken, the PG_BUSY must be set again.
      Otherwise vm_page_remove() panics.
   2. There is no need to set PG_BUSY on the newly allocated page before
      freeing it.  The page already has PG_BUSY set by vm_page_alloc().
      Setting it again could cause an assertion failure.
  
  Revision   Changes    Path
  1.290.2.1  +1 -2      src/sys/vm/vm_page.c


More information about the cvs-src mailing list