linux-stable-rt/drivers/infiniband/core
Roland Dreier 9b8efc0242 IB/uverbs: Remove unnecessary list_del()s
In ib_uverbs_cleanup_ucontext(), when iterating through the lists of
objects, there's no reason to do list_del() to remove the objects,
since both the objects and the lists that contain them are about to be
freed anyway.  Since list_del() is a moderately big inline function,
getting rid of this extra work saves quite a bit of .text:

add/remove: 0/0 grow/shrink: 1/2 up/down: 3/-217 (-214)
function                                     old     new   delta
ib_uverbs_comp_handler                       225     228      +3
ib_uverbs_async_handler                      256     255      -1
ib_uverbs_close                              905     689    -216

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-06-22 07:47:27 -07:00
..
Makefile IB: IP address based RDMA connection manager 2006-06-17 20:37:29 -07:00
addr.c IB: address translation to map IP toIB addresses (GIDs) 2006-06-17 20:37:28 -07:00
agent.c
agent.h
cache.c IB: Add caching of ports' LMC 2006-06-17 20:37:34 -07:00
cm.c IB/cm: Use address handle helpers 2006-06-17 20:37:40 -07:00
cm_msgs.h
cma.c IB: IP address based RDMA connection manager 2006-06-17 20:37:29 -07:00
core_priv.h
device.c
fmr_pool.c IB/fmr: Use device's max_map_map_per_fmr attribute in FMR pool. 2006-06-17 20:37:37 -07:00
mad.c IB/mad: Check GID/LID when matching requests 2006-06-17 20:37:34 -07:00
mad_priv.h IB: Make needlessly global ib_mad_cache static 2006-06-17 20:37:31 -07:00
mad_rmpp.c
mad_rmpp.h
packer.c
sa_query.c IB/cm: Use address handle helpers 2006-06-17 20:37:40 -07:00
smi.c
smi.h
sysfs.c
ucm.c IB/ucm: Get rid of duplicate P_Key parameter 2006-06-17 20:37:39 -07:00
ud_header.c
user_mad.c
uverbs.h IB/uverbs: Don't serialize with ib_uverbs_idr_mutex 2006-06-17 20:44:49 -07:00
uverbs_cmd.c IB/uverbs: Don't free wr list when it's known to be empty 2006-06-22 07:47:27 -07:00
uverbs_main.c IB/uverbs: Remove unnecessary list_del()s 2006-06-22 07:47:27 -07:00
uverbs_marshall.c
uverbs_mem.c
verbs.c IB: Add ib_init_ah_from_wc() 2006-06-17 20:37:39 -07:00