-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
amap_split previously split [1, 2] into [1] and [0, 2]. We want to split it into [1] and [2], as we never take vm_offset into account when indexing into amaps. This fixes a mysterious page fault in /bin/login (and might fix more, I haven't tested GNU make yet). To trigger this, one would need to split a VMA that had an amap attached, followed by a fault to a page that had been CoW'd again (so, fork()). While we're at it, add some fork CoW tests (using mpagemap). Signed-off-by: Pedro Falcato <[email protected]>
- Loading branch information
Showing
5 changed files
with
556 additions
and
3 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
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.