Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9efe4f29 authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

s390/mm: optimize randomize_et_dyn for !PF_RANDOMIZE



Skip the call to brk_rnd() if the PF_RANDOMIZE flag is not set for
the process. This avoids the costly get_random_int() call. Modify
arch_randomize_brk() as well to make it look like randomize_et_dyn().

Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 61aa4884
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment