kernel_optimize_test/arch/s390
Heiko Carstens f4eb07c17d [S390] Virtual memmap for s390.
Virtual memmap support for s390. Inspired by the ia64 implementation.

Unlike ia64 we need a mechanism which allows us to dynamically attach
shared memory regions.
These memory regions are accessed via the dcss device driver. dcss
implements the 'direct_access' operation, which requires struct pages
for every single shared page.
Therefore this implementation provides an interface to attach/detach
shared memory:

int add_shared_memory(unsigned long start, unsigned long size);
int remove_shared_memory(unsigned long start, unsigned long size);

The purpose of the add_shared_memory function is to add the given
memory range to the 1:1 mapping and to make sure that the
corresponding range in the vmemmap is backed with physical pages.
It also initialises the new struct pages.

remove_shared_memory in turn only invalidates the page table
entries in the 1:1 mapping. The page tables and the memory used for
struct pages in the vmemmap are currently not freed. They will be
reused when the next segment will be attached.
Given that the maximum size of a shared memory region is 2GB and
in addition all regions must reside below 2GB this is not too much of
a restriction, but there is room for improvement.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2006-12-08 15:56:07 +01:00
..
appldata [PATCH] hotplug CPU: clean up hotcpu_notifier() use 2006-12-07 08:39:39 -08:00
boot
crypto [S390] Inline assembly cleanup. 2006-09-28 16:56:43 +02:00
hypfs [PATCH] Vectorize aio_read/aio_write fileop methods 2006-10-01 00:39:28 -07:00
kernel [S390] Virtual memmap for s390. 2006-12-08 15:56:07 +01:00
lib [S390] uaccess_pt: add missing down_read() and convert to is_init(). 2006-12-08 15:53:49 +01:00
math-emu [S390] Inline assembly cleanup. 2006-09-28 16:56:43 +02:00
mm [S390] Virtual memmap for s390. 2006-12-08 15:56:07 +01:00
oprofile [PATCH] s390: add oprofile callgraph support 2006-01-06 08:33:50 -08:00
defconfig [S390] runtime switch for qdio performance statistics 2006-12-08 15:54:18 +01:00
Kconfig [S390] Virtual memmap for s390. 2006-12-08 15:56:07 +01:00
Kconfig.debug [PATCH] lockdep: irqtrace subsystem, s390 support 2006-07-03 15:27:03 -07:00
Makefile [S390] set KBUILD_IMAGE. 2006-12-04 15:40:49 +01:00