diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2015-11-22 09:50:13 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2015-11-22 09:50:13 +0000 |
commit | 9af50b0126ad644e5d4a5f57a4fb65ab2129453f (patch) | |
tree | f74b0d14e1b92b8c4530fbff5247dcf3605ba9cf /sys/vm | |
parent | 4586820a0757317d21ab0b67d42f0ac914f2cc4e (diff) | |
download | src-9af50b0126ad644e5d4a5f57a4fb65ab2129453f.tar.gz src-9af50b0126ad644e5d4a5f57a4fb65ab2129453f.zip |
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
Notes
Notes:
svn path=/head/; revision=291158
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vnode_pager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index ba6a0593efb1..96510ac3083f 100644 --- a/sys/vm/vnode_pager.c +++ b/sys/vm/vnode_pager.c @@ -1082,7 +1082,7 @@ vnode_pager_putpages(vm_object_t object, vm_page_t *m, int count, /* * 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. |