Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jul 2010 19:38:30 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern vfs_bio.c src/sys/vm vm_page.c vm_page.h
Message-ID:  <201007091939.o69JdboT095849@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
alc         2010-07-09 19:38:30 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_bio.c 
    sys/vm               vm_page.c vm_page.h 
  Log:
  SVN rev 209861 on 2010-07-09 19:38:30Z by alc
  
  Add support for the VM_ALLOC_COUNT() hint to vm_page_alloc().  Consequently,
  the maintenance of vm_pageout_deficit can be localized to just two places:
  vm_page_alloc() and vm_pageout_scan().
  
  This change also corrects an off-by-one error in the maintenance of
  vm_pageout_deficit.  Historically, the buffer cache functions, allocbuf()
  and vm_hold_load_pages(), have not taken into account that vm_page_alloc()
  already increments vm_pageout_deficit by one.
  
  Reviewed by:    kib
  
  Revision  Changes    Path
  1.586     +2 -3      src/sys/kern/vfs_bio.c
  1.418     +3 -6      src/sys/vm/vm_page.c
  1.177     +0 -1      src/sys/vm/vm_page.h



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