Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Nov 2015 09:50:13 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r291158 - head/sys/vm
Message-ID:  <201511220950.tAM9oDdP048858@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sun Nov 22 09:50:13 2015
New Revision: 291158
URL: https://svnweb.freebsd.org/changeset/base/291158

Log:
  Record proper commit message for r291157.
  
  The r289895 revision did not accounted for the block containing the
  requested page, when calculating the run of pages.  Include the pages
  before/after the requested page, that fit into the reqblock, into the
  calculation.
  
  Noted by:	glebius
  Tested by:	pho
  Sponsored by:	The FreeBSD Foundation
  MFC after:	1 week

Modified:
  head/sys/vm/vnode_pager.c

Modified: head/sys/vm/vnode_pager.c
==============================================================================
--- head/sys/vm/vnode_pager.c	Sun Nov 22 09:48:03 2015	(r291157)
+++ head/sys/vm/vnode_pager.c	Sun Nov 22 09:50:13 2015	(r291158)
@@ -1082,7 +1082,7 @@ vnode_pager_putpages(vm_object_t object,
 	/*
 	 * Force synchronous operation if we are extremely low on memory
 	 * to prevent a low-memory deadlock.  VOP operations often need to
-	 * allocate more memory to initiate the I/O ( i.e. do a BMAP 
+	 * allocate more memory to initiate the I/O ( i.e. do a BMAP
 	 * operation ).  The swapper handles the case by limiting the amount
 	 * of asynchronous I/O, but that sort of solution doesn't scale well
 	 * for the vnode pager without a lot of work.



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