forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm: page_alloc: manage free memory in whole pageblocks
Right now, allocation requests only reclaim (and compact) for their exact order. Since the majority of allocation requests are smaller than a pageblock, this is likely to result in partial blocks being freed, and subsequently fragmented by fallbacks. This defeats the allocator's efforts to group pageblocks by mobility. Fix this mismatch between the allocator and reclaim/compaction: make the pageblock the default unit for free memory by enforcing watermarks against MIGRATE_FREE blocks, and have reclaim/compaction produce them. Signed-off-by: Johannes Weiner <[email protected]>
- Loading branch information
Showing
5 changed files
with
118 additions
and
121 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.