From: Ralph Campbell Date: Thu, 17 Apr 2008 04:09:26 +0000 (-0700) Subject: IB/ipath: Make send buffers available for kernel if not allocated to user X-Git-Tag: v2.6.26-rc1~1156^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4b4d16e090e1b68d1d4d20a28757070982b9725;p=pandora-kernel.git IB/ipath: Make send buffers available for kernel if not allocated to user A fixed partitioning of send buffers is determined at driver load time for user processes and kernel use. Since send buffers are a scarce resource, it makes sense to allow the kernel to use the buffers if they are not in use by a user process. Also, eliminate code duplication for ipath_force_pio_avail_update(). Signed-off-by: Ralph Campbell Signed-off-by: Roland Dreier --- Reading git-diff-tree failed