diff options
author | Warner Losh <imp@FreeBSD.org> | 2025-08-26 02:07:38 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2025-08-26 02:15:07 +0000 |
commit | d355a5e6194be4c3f7dcba237ea4cedb5c92bde8 (patch) | |
tree | 4e2f51452ab5f70f04b1eb4748005f905c5422bf /tools/test/stress2/misc/nlink.sh | |
parent | 200730f29dbc8da2aa9392b35518bf77b8899f89 (diff) |
When actual_pages is -1, calling vm_page_unhold_pages will loop
forever. We don't actually need to loop. In fact, it will either be -1
or the right number of pages: we never return a partial allocation. It
might be more proper to assert this, but since this is contrib code,
make a minimal change to avoid the infinite loop.
Sponsored by: Netflix
Reviewed by: kib, markj
Differential Revision: https://reviews.freebsd.org/D52154
Diffstat (limited to 'tools/test/stress2/misc/nlink.sh')
0 files changed, 0 insertions, 0 deletions