projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dec2a2
)
IB/iser: Make fastreg pool cache friendly
author
Sagi Grimberg
<sagig@mellanox.com>
Tue, 14 Apr 2015 15:08:23 +0000
(18:08 +0300)
committer
Doug Ledford
<dledford@redhat.com>
Wed, 15 Apr 2015 20:07:13 +0000
(16:07 -0400)
Memory regions are resources that are saved
in the device caches. Increase the probability for
a cache hit by adding the MRU descriptor to pool
head.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/iser/iser_memory.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/ulp/iser/iser_memory.c
b/drivers/infiniband/ulp/iser/iser_memory.c
index 17a5d70dcc8a36df985867babbab344a556b01dd..45f512043ef52304a5ea901cf2de2410c7708c15 100644
(file)
--- a/
drivers/infiniband/ulp/iser/iser_memory.c
+++ b/
drivers/infiniband/ulp/iser/iser_memory.c
@@
-63,7
+63,7
@@
iser_reg_desc_put(struct ib_conn *ib_conn,
unsigned long flags;
spin_lock_irqsave(&ib_conn->lock, flags);
- list_add
_tail
(&desc->list, &ib_conn->fastreg.pool);
+ list_add(&desc->list, &ib_conn->fastreg.pool);
spin_unlock_irqrestore(&ib_conn->lock, flags);
}