-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
task: make task address ranges non-overlapping
Each task allocates task-specific memory within a per-task virtual address range, which is specific to that task. This means that each task-specific allocation is only accessible within that task. But for the sake of memory safety, where pointers may be passed across tasks, it is important to make sure that no single address is ever valid in more than one task at a time, because that could cause a reference from one task to point to different data when interpreted in a different task. Ensuring unique addresses guarantees that any per-task address that crosses a task boundary will cause a fault instead of referring to the wrong data. Signed-off-by: Jon Lange <[email protected]>
- Loading branch information
1 parent
5b1c4a4
commit cb2614e
Showing
2 changed files
with
73 additions
and
25 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