https://github.com/torvalds/linux
Revision 9d8cd306a8f4cf104d5ef2e2f8f8f4f4854770a2 authored by Al Viro on 27 September 2014, 01:34:01 UTC, committed by Al Viro on 27 September 2014, 01:34:01 UTC
list_del() + list_add() is a slightly pessimised list_move()
list_del() + INIT_LIST_HEAD() is a slightly pessimised list_del_init()

Interleaving those makes the resulting code even worse.  And harder to follow...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 8527dd7
History
Tip revision: 9d8cd306a8f4cf104d5ef2e2f8f8f4f4854770a2 authored by Al Viro on 27 September 2014, 01:34:01 UTC
__d_move(): fold manipulations with ->d_child/->d_subdirs
Tip revision: 9d8cd30
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 279.8 KB
Makefile -rw-r--r-- 52.8 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top