]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: make use of kfree_rcu() and avoid the call_rcu() chain
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Thu, 8 Oct 2015 23:26:32 +0000 (16:26 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Tue, 13 Oct 2015 17:08:23 +0000 (10:08 -0700)
commit1450f883a2b4cd4066ff4187e6aec04a363286fa
tree4a0f411751eb42387aee9ae599bd246a50e36657
parented427b2921612fb16e6463eeed8a1a0bfc4e6bd5
RDS: make use of kfree_rcu() and avoid the call_rcu() chain

call_rcu() chains are expensive and its use in rds_ib_remove_ipaddr()
is just to kfree() the rds_ib_ipaddr. Chains make use of  high-latency
rcu_barrier() in modules which can be avoided.

Makes use of kfree_rcu() which is exactly meant for such use

Orabug: 22010933

Acked-by: Ajaykumar Hotchandani <ajaykumar.hotchandani@oracle.com>
Acked-by: Wengang Wang <wen.gang.wang@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
net/rds/ib_rdma.c