cvs commit: src/sys/vm vm_object.c

Alan Cox alc at FreeBSD.org
Tue Feb 26 17:16:49 UTC 2008


alc         2008-02-26 17:16:48 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               vm_object.c 
  Log:
  Correct a long-standing error in vm_object_page_remove().  Specifically,
  pmap_remove_all() must not be called on fictitious pages.  To date,
  fictitious pages have been allocated from zeroed memory, effectively
  hiding this problem because the fictitious pages appear to have an empty
  pv list.  Submitted by: Kostik Belousov
  
  Rewrite the comments describing vm_object_page_remove() to better
  describe what it does.  Add an assertion.  Reviewed by: Kostik Belousov
  
  MFC after: 1 week
  
  Revision  Changes    Path
  1.392     +25 -6     src/sys/vm/vm_object.c


More information about the cvs-src mailing list