commit | e1bc89bc9991e994f2b3c60d9ad2fdb5ad9b10fc | [log] [tgz] |
---|---|---|
author | Peter Osterlund <petero2@telia.com> | Sat Feb 04 23:27:47 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sun Feb 05 11:06:52 2006 -0800 |
tree | 22816d5b1979961ec60507e8b6783a02c7fdb283 | |
parent | b566ccefd7814e4fa403de81aea299bdc11ceed5 [diff] |
[PATCH] pktcdvd: Don't waste kernel memory Allocate memory for read-gathering at open time, when it is known just how much memory is needed. This avoids wasting kernel memory when the real packet size is smaller than the maximum packet size supported by the driver. This is always the case when using DVD discs. Signed-off-by: Peter Osterlund <petero2@telia.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>