diff options
| author | Michel Lespinasse <[email protected]> | 2019-09-25 23:46:04 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-09-26 00:51:39 +0000 |
| commit | 444b8a83f1e01584ff2d53f5951d8e836c0070b5 (patch) | |
| tree | 30d6875df1f8f0b5d5f9a9de0d24b0bb3aa18d79 /lib/string.c | |
| parent | rbtree: avoid generating code twice for the cached versions (tools copy) (diff) | |
| download | kernel-444b8a83f1e01584ff2d53f5951d8e836c0070b5.tar.gz kernel-444b8a83f1e01584ff2d53f5951d8e836c0070b5.zip | |
augmented rbtree: add comments for RB_DECLARE_CALLBACKS macro
Patch series "make RB_DECLARE_CALLBACKS more generic", v3.
These changes are intended to make the RB_DECLARE_CALLBACKS macro more
generic (allowing the aubmented subtree information to be a struct instead
of a scalar).
I have verified the compiled lib/interval_tree.o and mm/mmap.o files to
check that they didn't change. This held as expected for interval_tree.o;
mmap.o did have some changes which could be reverted by marking
__vma_link_rb as noinline. I did not add such a change to the patchset; I
felt it was reasonable enough to leave the inlining decision up to the
compiler.
This patch (of 3):
Add a short comment summarizing the arguments to RB_DECLARE_CALLBACKS.
The arguments are also now capitalized. This copies the style of the
INTERVAL_TREE_DEFINE macro.
No functional changes in this commit, only comments and capitalization.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Michel Lespinasse <[email protected]>
Acked-by: Davidlohr Bueso <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: David Howells <[email protected]>
Cc: Uladzislau Rezki <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions
