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

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

  FreeBSD src repository

  Modified files:
    sys/vm               vm_object.c 
  Log:
  SVN rev 206770 on 2010-04-17 21:14:37Z by alc
  
  In vm_object_madvise() setting PG_REFERENCED on a page before sleeping on
  that page only makes sense if the advice is MADV_WILLNEED.  In that case,
  the intention is to activate the page, so discouraging the page daemon
  from reclaiming the page makes sense.  In contrast, in the other cases,
  MADV_DONTNEED and MADV_FREE, it makes no sense whatsoever to discourage
  the page daemon from reclaiming the page by setting PG_REFERENCED.
  
  Wrap a nearby line.
  
  Discussed with: kib
  MFC after:      3 weeks
  
  Revision  Changes    Path
  1.411     +9 -2      src/sys/vm/vm_object.c



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