Files
kernel_arpi/include/linux
Al Viro fdb0da89f4 new inode method: ->free_inode()
A lot of ->destroy_inode() instances end with call_rcu() of a callback
that does RCU-delayed part of freeing.  Introduce a new method for
doing just that, with saner signature.

Rules:
->destroy_inode		->free_inode
	f			g		immediate call of f(),
						RCU-delayed call of g()
	f			NULL		immediate call of f(),
						no RCU-delayed calls
	NULL			g		RCU-delayed call of g()
	NULL			NULL		RCU-delayed default freeing

IOW, NULL ->free_inode gives the same behaviour as now.

Note that NULL, NULL is equivalent to NULL, free_inode_nonrcu; we could
mandate the latter form, but that would have very little benefit beyond
making rules a bit more symmetric.  It would break backwards compatibility,
require extra boilerplate and expected semantics for (NULL, NULL) pair
would have no use whatsoever...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2019-05-01 22:37:39 -04:00
..
2019-02-15 16:47:55 +02:00
2019-03-29 12:24:41 -07:00
2019-02-28 09:16:12 +01:00
2019-02-08 22:39:01 -08:00
2019-02-24 08:20:17 -07:00
2019-03-18 10:44:48 -06:00
2019-03-18 07:07:30 +01:00
2019-02-28 03:28:53 -05:00
2019-03-12 18:59:17 -07:00
2019-02-28 08:24:23 -07:00
2019-05-01 22:37:39 -04:00
2019-03-12 10:04:02 -07:00
2019-03-05 21:07:16 -08:00
2019-02-15 16:54:38 +01:00
2019-03-12 10:04:00 -07:00
2019-03-09 19:52:47 -08:00
2019-02-24 08:20:17 -07:00
2019-03-07 18:32:03 -08:00
2019-03-12 10:04:01 -07:00
2019-03-15 15:29:47 -07:00
2019-02-20 07:22:17 -07:00
2019-02-20 07:22:10 -07:00
2019-02-08 15:02:49 -08:00
2019-03-05 21:07:19 -08:00
2019-03-03 21:47:57 -08:00
2019-03-12 10:04:03 -07:00
2019-02-25 21:20:45 +01:00
2019-03-15 15:29:47 -07:00
2019-04-05 16:02:30 -10:00
2019-02-26 12:53:55 +01:00