-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swap support #130
Merged
Merged
Swap support #130
Conversation
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
Fixes ubsan complaints Signed-off-by: Pedro Falcato <[email protected]>
This helps debug held spinlocks, et al. We can quickly fix it up and see if a next call hangs indefinitely. Signed-off-by: Pedro Falcato <[email protected]>
Signed-off-by: Pedro Falcato <[email protected]>
Add anon_vma, which allows us to do the reverse anon page -> vma mapping. Similar to the original anon_vma design for Linux. Signed-off-by: Pedro Falcato <[email protected]>
Includes swap parsing, mkswap, swapon(1) and swapon(2). Does _not_ include actual swapping yet. Signed-off-by: Pedro Falcato <[email protected]>
Add swapping of anon pages to disk. Also, while we're at it, perform _a lot_ of miscellaneous refactoring and moving around of code, including adding proper GFP flags in a bunch of places, some CHECKs, a bunch of page fault work. This is not perfect but I'm working on it. Also fix the UART8250 ACPI and DT builds. This disables the ARM64 builds in CI because they're broken. Signed-off-by: Pedro Falcato <[email protected]>
Prepare the switch of slab.cpp to slab.c by removing auto. Signed-off-by: Pedro Falcato <[email protected]>
Signed-off-by: Pedro Falcato <[email protected]>
Signed-off-by: Pedro Falcato <[email protected]>
Add TYPESAFE_BY_RCU support. These caches guarantee type stability of objects without the need for kfree_rcu or similar (under the RCU read lock). They do so by only reclaiming slabs after an RCU quiescent period has passed. This patch also adds ctor support. While we're at it, use TYPESAFE_BY_RCU for anon_vma, which was the original intended usage. Signed-off-by: Pedro Falcato <[email protected]>
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.
No description provided.