forked from torvalds/linux
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ability to vmalloc executable memory
Since release 5.8-rc1 the pgprot got removed from __vmalloc because the only usage was PAGE_KERNEL as argument. However, this removes the ability to input other arguments such as 'PAGE_KERNEL_EXEC', which can be used to allocate memory in which you can execute. For this reason a new function is introduced called '__vmalloc_exec'. Signed-off-by: Xander Moerkerken <xander.moerkerken@omron.com>
- Loading branch information
1 parent
0385eb4
commit 86c4449
Showing
2 changed files
with
9 additions
and
0 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