mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Change the type of `tscan' in vm_object_page_clean() to vm_pindex_t,
as it stores an absolute page index that may not fit in a vm_offset_t.
This commit is contained in:
parent
110a549a4c
commit
300b96aca2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99093
@ -676,7 +676,7 @@ vm_object_page_clean(vm_object_t object, vm_pindex_t start, vm_pindex_t end, int
|
||||
* the size might be in the gigabytes or terrabytes.
|
||||
*/
|
||||
if (msync_flush_flags & MSYNC_FLUSH_HARDSEQ) {
|
||||
vm_offset_t tscan;
|
||||
vm_pindex_t tscan;
|
||||
int scanlimit;
|
||||
int scanreset;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user