linux/include
Johannes Berg 2ae0f17df1 genetlink: use idr to track families
Since generic netlink family IDs are small integers, allocated
densely, IDR is an ideal match for lookups. Replace the existing
hand-written hash-table with IDR for allocation and lookup.

This lets the families only be written to once, during register,
since the list_head can be removed and removal of a family won't
cause any writes.

It also slightly reduces the code size (by about 1.3k on x86-64).

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-10-27 16:16:09 -04:00
..
acpi
asm-generic Merge branch 'work.uaccess2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2016-10-11 23:38:39 -07:00
clocksource
crypto
drm
dt-bindings net: phy: Cleanup the Edge-Rate feature in Microsemi PHYs. 2016-10-14 10:06:13 -04:00
keys
kvm
linux genetlink: statically initialize families 2016-10-27 16:16:09 -04:00
math-emu
media
memory
misc
net genetlink: use idr to track families 2016-10-27 16:16:09 -04:00
pcmcia
ras
rdma
rxrpc
scsi
soc
sound
target
trace
uapi genetlink: use idr to track families 2016-10-27 16:16:09 -04:00
video fbdev changes for 4.9 2016-10-12 11:01:37 -07:00
xen
Kbuild