]> 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>
Wed, 19 Jun 2013 00:05:45 +0000 (10:05 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:12:52 +0000 (17:12 +1000)
commit0dc6d12bd0f913c127f142b1db8c335e607c7d0b
treedb3a0679b82d6f64327ae6b62a2d17731ec07c96
parent2e40423abc2b6b580b66fb5282aa5112d6128f14
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