]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
fput: turn "list_head delayed_fput_list" into llist_head
authorOleg Nesterov <oleg@redhat.com>
Mon, 8 Jul 2013 21:24:16 +0000 (14:24 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 13 Jul 2013 09:29:10 +0000 (13:29 +0400)
commit4f5e65a1cc90bbb15b9f6cdc362922af1bcc155a
treec635e87d98c9961ad95c2351bae6d9609eeb761f
parent64372501e2af9b11e2ffd1ff79345dc4b1abe539
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>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/file_table.c
include/linux/fs.h