]> err.no Git - linux-2.6/commit
[S390] vmur: allocate single record buffers instead of one big data buffer
authorMichael Holzheu <holzheu@de.ibm.com>
Fri, 10 Aug 2007 12:32:30 +0000 (14:32 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 10 Aug 2007 12:32:37 +0000 (14:32 +0200)
commit1eade380c5f3e69348531ade5e9f9c5ae6485874
tree485445bd0f7ed912cd0dee346c776ab0387795c2
parent6d740a438fcb8775008dfd3fc18df7f7a0ca2e12
[S390] vmur: allocate single record buffers instead of one big data buffer

vmur allocates one contiguous kernel buffer to copy user data when creating
ccw programs for punch or printer. If big block sizes are used, under memory
pressure it can happen, that we do not get memory in one chunk. Now we
allocate memory for each single record to avoid high order allocations.

Signed-off-by: Michael Holzheu <holzheu@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/vmur.c