[UDFS] Move large mount-time bitmap/VAT buffers to PagedPool#285
Closed
Copilot wants to merge 2 commits into
Closed
[UDFS] Move large mount-time bitmap/VAT buffers to PagedPool#285Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Agent-Logs-Url: https://github.com/Zero3K20/reactos/sessions/ffe6841a-3388-46f2-ae2f-469a57193caa Co-authored-by: Zero3K20 <258969903+Zero3K20@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix mounting of drive to utilize page file on NTFS drive
[UDFS] Move large mount-time bitmap/VAT buffers to PagedPool
Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
UDFS mount on low-memory systems still consumed large NonPagedPool buffers in bitmap/VAT paths, preventing the intended benefit of pagefile-backed memory and blocking large-volume mount scenarios. This change shifts those large mount-time allocations to pageable pool so they can be backed by the system page file.
Mount-path bitmap buffers made pageable
UDFPrepareXSpaceBitmap:_XSBMallocation switched toPagedPoolUDFAddXSpaceBitmap/UDFVerifyXSpaceBitmap: temporary bitmap read buffers switched toPagedPoolUDFBuildFreeSpaceBitmap:FSBM_BitmapandFSBM_Bitmap_ownersswitched toPagedPoolUDFGetDiskInfoAndVerify:FSBM_OldBitmapswitched toPagedPoolVAT table buffer made pageable
UDFLoadVAT:Vcb->Vatallocation switched toPagedPoolScope