summaryrefslogtreecommitdiffstats
path: root/include/linux/percpu-defs.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2014-12-13 01:58:39 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-13 21:42:53 +0100
commit37d469e7673a663cbf38360beb1eaa3224c9d272 (patch)
treeb980de73eb2a32cb759d57792c0028e634350b80 /include/linux/percpu-defs.h
parentfsnotify: unify inode and mount marks handling (diff)
downloadlinux-37d469e7673a663cbf38360beb1eaa3224c9d272.tar.xz
linux-37d469e7673a663cbf38360beb1eaa3224c9d272.zip
fsnotify: remove destroy_list from fsnotify_mark
destroy_list is used to track marks which still need waiting for srcu period end before they can be freed. However by the time mark is added to destroy_list it isn't in group's list of marks anymore and thus we can reuse fsnotify_mark->g_list for queueing into destroy_list. This saves two pointers for each fsnotify_mark. Signed-off-by: Jan Kara <jack@suse.cz> Cc: Eric Paris <eparis@redhat.com> Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions