Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 2010 17:02:17 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/vm swap_pager.c
Message-ID:  <201004171702.o3HH2VCK059673@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
alc         2010-04-17 17:02:17 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               swap_pager.c 
  Log:
  SVN rev 206761 on 2010-04-17 17:02:17Z by alc
  
  Setting PG_REFERENCED on the requested page in swap_pager_getpages() is
  either redundant or harmful, depending on the caller.  For example, when
  called by vm_fault(), it is redundant.  However, when called by
  vm_thread_swapin(), it is harmful.  Specifically, if the thread is later
  swapped out, having PG_REFERENCED set on its stack pages leads the page
  daemon to reactivate these stack pages and delay their reclamation.
  
  Reviewed by:    kib
  MFC after:      3 weeks
  
  Revision  Changes    Path
  1.315     +1 -5      src/sys/vm/swap_pager.c



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