]> git.baikalelectronics.ru Git - kernel.git/commit
RDS: flush fmrs before allocating new ones
authorChris Mason <chris.mason@oracle.com>
Tue, 20 Jul 2010 00:06:46 +0000 (17:06 -0700)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:16:42 +0000 (18:16 -0700)
commitc9d64069cdf17bd7da2d3150b02950ccaa784d95
treeed7279333989d204a6627b703ae568ba0136a4b1
parent3846c5a7d788a9cf8a926af7a27a98a6a9e15a60
RDS: flush fmrs before allocating new ones

Flushing FMRs is somewhat expensive, and is currently kicked off when
the interrupt handler notices that we are getting low.  The result of
this is that FMR flushing only happens from the interrupt cpus.

This spreads the load more effectively by triggering flushes just before
we allocate a new FMR.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
net/rds/ib_rdma.c