diff options
| author | Matthew Wilcox <[email protected]> | 2016-12-14 23:08:34 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-12-15 00:04:10 +0000 |
| commit | 91d9c05ac6c788531136888d31ef18c6a0ec160f (patch) | |
| tree | 858de508527dbe571ca87a77d572a38ebf92b55d /tools/testing/radix-tree/multiorder.c | |
| parent | radix-tree: fix typo (diff) | |
| download | kernel-91d9c05ac6c788531136888d31ef18c6a0ec160f.tar.gz kernel-91d9c05ac6c788531136888d31ef18c6a0ec160f.zip | |
radix-tree: move rcu_head into a union with private_list
I want to be able to reference node->parent after freeing node.
Currently node->parent is in a union with rcu_head, so it is overwritten
when the node is put on the RCU list. We know that private_list is not
referenced after the node is freed, so it is safe for these two members
to share space.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox <[email protected]>
Tested-by: Kirill A. Shutemov <[email protected]>
Cc: Konstantin Khlebnikov <[email protected]>
Cc: Ross Zwisler <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/multiorder.c')
0 files changed, 0 insertions, 0 deletions
