Page MenuHomeFreeBSD

vfs: yield in vn_deallocate_impl() loop
ClosedPublic

Authored by khng on Aug 27 2021, 10:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 22, 1:27 PM
Unknown Object (File)
Tue, Jul 21, 12:36 AM
Unknown Object (File)
Sat, Jul 18, 8:20 AM
Unknown Object (File)
Sun, Jun 28, 12:07 PM
Unknown Object (File)
Jun 27 2026, 12:46 AM
Unknown Object (File)
Jun 25 2026, 12:14 PM
Unknown Object (File)
Jun 23 2026, 2:41 PM
Unknown Object (File)
Jun 14 2026, 5:36 PM
Subscribers

Details

Summary

Yield at the end of each loop iteration if there are remaining works as
indicated by the value of *len updated by VOP_DEALLOCATE. Without this,
when calling vop_stddeallocate to zero a large region, the
implementation only zerofills a relatively small chunk and return.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41242
Build 38131: arc lint + arc unit