]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fput: turn "list_head delayed_fput_list" into llist_head
authorOleg Nesterov <oleg@redhat.com>
Thu, 27 Jun 2013 23:51:14 +0000 (09:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:37:22 +0000 (16:37 +1000)
commit20508955c87b1501a357b5833d805152cd41554b
treeb9d82015bf8013503b9906bab33ee8dc8e55e1f3
parent984db4e2a937c5625e8d6a72cb0de56be8d7423f
fput: turn "list_head delayed_fput_list" into llist_head

fput() and delayed_fput() can use llist and avoid the locking.

This is unlikely path, it is not that this change can improve
the performance, but this way the code looks simpler.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Andrey Vagin <avagin@openvz.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Huang Ying <ying.huang@intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/file_table.c
include/linux/fs.h