kernel_optimize_test/arch/s390
Michael Holzheu 2fcb3686e1 [S390] hypfs: Move buffer allocation from open to read
Currently the buffer for diagnose data is allocated in the open function
of the debugfs file and is released in the close function. This has the
drawback that a user (root) can pin that memory by not closing the file.
This patch moves the buffer allocation to the read function. The buffer is
automatically released after the buffer is copied to userspace.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2011-01-05 12:47:27 +01:00
..
appldata [S390] appldata: fix dev_get_stats 64 bit conversion 2010-08-13 10:06:55 +02:00
boot
crypto [S390] cleanup facility list handling 2010-10-25 16:10:21 +02:00
hypfs [S390] hypfs: Move buffer allocation from open to read 2011-01-05 12:47:27 +01:00
include/asm [S390] current_thread_info optimization 2011-01-05 12:47:27 +01:00
kernel [S390] extint: get rid of early code plus cleanup 2011-01-05 12:47:26 +01:00
kvm [S390] cleanup s390 Kconfig 2011-01-05 12:47:23 +01:00
lib [S390] time: let local_tick_enable/disable() reprogram the clock comparator 2011-01-05 12:47:25 +01:00
math-emu
mm [S390] pfault: delay register of pfault interrupt 2011-01-05 12:47:26 +01:00
oprofile
defconfig [S390] cleanup s390 Kconfig 2011-01-05 12:47:23 +01:00
Kbuild [S390] standardize Kbuild rules 2010-10-25 16:10:14 +02:00
Kconfig [S390] cleanup s390 Kconfig 2011-01-05 12:47:23 +01:00
Kconfig.debug [S390] cleanup s390 Kconfig 2011-01-05 12:47:23 +01:00
Makefile [S390] Add config option for z196 code generation. 2010-10-25 16:10:15 +02:00