diff options
author | Christophe Leroy <[email protected]> | 2024-09-02 21:17:18 +0200 |
---|---|---|
committer | Jason A. Donenfeld <[email protected]> | 2024-09-13 17:28:36 +0200 |
commit | d175ee98fe545d2c56df22751314584cce228307 (patch) | |
tree | 72578a4efde3081870573603a1ce115f7690f1dc /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | c73049389e58c01e2e3bbfae900c8daeee177191 (diff) |
mm: Define VM_DROPPABLE for powerpc/32
Commit 9651fcedf7b9 ("mm: add MAP_DROPPABLE for designating always
lazily freeable mappings") only adds VM_DROPPABLE for 64 bits
architectures.
In order to also use the getrandom vDSO implementation on powerpc/32,
use VM_ARCH_1 for VM_DROPPABLE on powerpc/32. This is possible because
VM_ARCH_1 is used for VM_SAO on powerpc and VM_SAO is only for
powerpc/64. It is used in combination with PROT_SAO in some parts of
code that are restricted to CONFIG_PPC64 through #ifdefs, it is
therefore possible to define VM_SAO for CONFIG_PPC64 only.
Signed-off-by: Christophe Leroy <[email protected]>
Acked-by: Michael Ellerman <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions