]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
nommu: add support for Memory Protection Units (MPU)
authorBernd Schmidt <bernds_cb1@t-online.de>
Tue, 22 Sep 2009 00:03:57 +0000 (17:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Sep 2009 14:17:43 +0000 (07:17 -0700)
commiteb8cdec4a984fde123a91250dcc9e0bddf5eafdc
tree9f97b5949e6e63ae947363149b62ed224dad5ab9
parent02e87d1a934c70e3599eb7a29db783806d329e17
nommu: add support for Memory Protection Units (MPU)

Some architectures (like the Blackfin arch) implement some of the
"simpler" features that one would expect out of a MMU such as memory
protection.

In our case, we actually get read/write/exec protection down to the page
boundary so processes can't stomp on each other let alone the kernel.

There is a performance decrease (which depends greatly on the workload)
however as the hardware/software interaction was not optimized at design
time.

Signed-off-by: Bernd Schmidt <bernds_cb1@t-online.de>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: David Howells <dhowells@redhat.com>
Acked-by: Greg Ungerer <gerg@snapgear.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/module.c
mm/nommu.c