cvs commit: src/sys/vm swap_pager.c

Konstantin Belousov kib at FreeBSD.org
Fri Jul 11 11:27:54 UTC 2008


kib         2008-07-11 11:27:42 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               swap_pager.c 
  Log:
  SVN rev 180446 on 2008-07-11 11:27:42Z by kib
  
  Use the VM_ALLOC_INTERRUPT for the page requests when allocating memory
  for the bio for swapout write. It allows the page allocator to drain
  free page list deeper. As result, a deadlock where pageout deamon sleeps
  waiting for bio to be allocated for swapout is no more reproducable in
  practice.
  
  Alan said that M_USE_RESERVE shall be ressurrected and used there, but
  until this is implemented, M_NOWAIT does exactly what is needed.
  
  Tested by:      pho, kris
  Reviewed by:    alc
  No objections from:     phk
  MFC after:      2 weeks (RELENG_7 only)
  
  Revision  Changes    Path
  1.302     +5 -7      src/sys/vm/swap_pager.c


More information about the cvs-src mailing list