aboutsummaryrefslogtreecommitdiffstats
path: root/copy-builtin
diff options
context:
space:
mode:
authorBrian Atkinson <[email protected]>2022-03-14 13:37:39 -0600
committerGitHub <[email protected]>2022-03-14 12:37:39 -0700
commitbecc717f6143caf80bad6879b6c6402538ecae89 (patch)
treebfca8c4127635dbb2041877808991a71c75b25ea /copy-builtin
parentdad2b19fffda43894a005a042055e268fe6b32e3 (diff)
Adding ZERO_PAGE detection
On some architectures ZERO_PAGE is unavailable because it references a GPL exported symbol of empty_zero_page. Originally e08b993 removed the call to PAGE_ZERO(0) for assignment to the abd_zero_page. However, a simple check can be done to avoid a kernel allocation and free for the abd_zero_page if ZERO_PAGE is available. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Brian Atkinson <[email protected]> Closes #13199
Diffstat (limited to 'copy-builtin')
0 files changed, 0 insertions, 0 deletions