X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=mm%2FKconfig;h=82fed4eb2b6fe39cfd0476afe46e9589e02b386f;hb=a3fe778c7895cd847d23c25ad566d83346282a77;hp=2613c910935a90d33d9b2d47cc9505402b47ae36;hpb=165c8aed5bbc6bdddbccae0ba9db451732558ff9;p=karo-tx-linux.git diff --git a/mm/Kconfig b/mm/Kconfig index 2613c910935a..82fed4eb2b6f 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -198,7 +198,7 @@ config COMPACTION config MIGRATION bool "Page migration" def_bool y - depends on NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE || COMPACTION + depends on NUMA || ARCH_ENABLE_MEMORY_HOTREMOVE || COMPACTION || CMA help Allows the migration of the physical location of pages of processes while the virtual addresses are not changed. This is useful in @@ -349,6 +349,16 @@ choice benefit. endchoice +config CROSS_MEMORY_ATTACH + bool "Cross Memory Support" + depends on MMU + default y + help + Enabling this option adds the system calls process_vm_readv and + process_vm_writev which allow a process with the correct privileges + to directly read from or write to to another process's address space. + See the man page for more details. + # # UP and nommu archs use km based percpu allocator #