OpenCloudOS-Kernel/drivers/s390/block
Michael Holzheu 66a464dbc8 [PATCH] s390: debug feature changes
This patch changes the memory allocation method for the s390 debug feature.
Trace buffers had been allocated using the get_free_pages() function before.
Therefore it was not possible to get big memory areas in a running system due
to memory fragmentation.  Now the trace buffers are subdivided into several
subbuffers with pagesize.  Therefore it is now possible to allocate more
memory for the trace buffers and more trace records can be written.

In addition to that, dynamic specification of the size of the trace buffers is
implemented.  It is now possible to change the size of a trace buffer using a
new debugfs file instance.  When writing a number into this file, the trace
buffer size is changed to 'number * pagesize'.

In the past all the traces could be obtained from userspace by accessing files
in the "proc" filesystem.  Now with debugfs we have a new filesystem which
should be used for debugging purposes.  This patch moves the debug feature
from procfs to debugfs.

Since the interface of debug_register() changed, all device drivers, which use
the debug feature had to be adjusted.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-25 16:24:37 -07:00
..
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dasd.c [PATCH] s390: debug feature changes 2005-06-25 16:24:37 -07:00
dasd_3370_erp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dasd_3990_erp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dasd_9336_erp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dasd_9343_erp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dasd_cmb.c [PATCH] s390: remove ioctl32 from dasdcmb 2005-05-01 08:58:59 -07:00
dasd_devmap.c [PATCH] Driver Core: drivers/i2c/chips/w83781d.c - drivers/s390/block/dcssblk.c: update device attribute callbacks 2005-06-20 15:15:34 -07:00
dasd_diag.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dasd_diag.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dasd_eckd.c [PATCH] s390: don't pad cdl blocks for write requests 2005-05-01 08:58:59 -07:00
dasd_eckd.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dasd_erp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dasd_fba.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dasd_fba.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dasd_genhd.c [PATCH] s390: dasd readonly attribute 2005-05-01 08:58:59 -07:00
dasd_int.h [PATCH] s390: dasd readonly attribute 2005-05-01 08:58:59 -07:00
dasd_ioctl.c [PATCH] s390: dasd readonly attribute 2005-05-01 08:58:59 -07:00
dasd_proc.c [PATCH] s390: debug feature changes 2005-06-25 16:24:37 -07:00
dcssblk.c [PATCH] s/390: compile fix for dcssblk 2005-06-25 16:24:36 -07:00
xpram.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00