From: Peter Osterlund Date: Sun, 5 Feb 2006 07:27:47 +0000 (-0800) Subject: [PATCH] pktcdvd: Don't waste kernel memory X-Git-Tag: v2.6.16-rc3~164 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1bc89bc9991e994f2b3c60d9ad2fdb5ad9b10fc;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed