From: Julian Andres Klode Date: Tue, 27 Sep 2011 17:00:59 +0000 (+0200) Subject: staging: nvec: Allow TX buffers only in the upper 75% of the pool X-Git-Tag: v3.2-rc1~169^2^2~317 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb0590e2723eed53b524d61cf011d53fc7280949;p=pandora-kernel.git staging: nvec: Allow TX buffers only in the upper 75% of the pool Allow TX buffers to be allocated only in the upper 75% of the pool to avoid a completely filled buffer preventing the driver from processing responses. This also improves performance, as RX allocations do not require checking buffers allocated for TX unless there are more than 16 incoming messages -- which is highly unlikely. An earlier version used the lower 75% for TX messages, but that was considered to be not that effective due to the overlaps of RX and TX buffers mentioned above. Signed-off-by: Julian Andres Klode Acked-by: Marc Dietrich Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed