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

Alan Cox alc at FreeBSD.org
Sun Aug 27 19:50:14 UTC 2006


alc         2006-08-27 19:50:13 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               vm_page.c vm_page.h 
  Log:
  Refactor vm_page_sleep_if_busy() so that the test for a busy page is
  inlined and a procedure call is made in the rare case, i.e., when it is
  necessary to sleep.  In this case, inlining the test actually makes the
  kernel smaller.
  
  Revision  Changes    Path
  1.327     +19 -24    src/sys/vm/vm_page.c
  1.143     +22 -1     src/sys/vm/vm_page.h


More information about the cvs-src mailing list