docs: rbtree.rst: Fix a typo
PATCH 1/1 docs: rbtree.rst: Fix a typo
s/maintanence/maintenance/
Signed-off-by Bhaskar Chowdhury <[email protected]>
--- Documentation/core-api/rbtree.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/core-api/rbtree.rst +1 -1
@@ -201,7 +201,7 @@ search trees, such as for traversals or users relying on a the particular order for their own logic. To this end, users can use 'struct rb_root_cached' to optimize O(logN) rb_first() calls to a simple pointer fetch avoiding potentially expensive tree iterations. This is done at negligible runtime -overhead for maintanence; albeit larger memory footprint. +overhead for maintenance; albeit larger memory footprint. Similar to the rb_root structure, cached rbtrees are initialized to be empty via::
--
2.30.1
Quoted 4 lines · Bhaskar Chowdhury
s/maintanence/maintenance/
Signed-off-by Bhaskar Chowdhury <[email protected]>
Acked-by Randy Dunlap <[email protected]>
Quoted 18 lines
--- Documentation/core-api/rbtree.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/core-api/rbtree.rst +1
-2@@ -201,7 +201,7 @@ search trees, such as for traversals or users relying on a the particular order for their own logic. To this end, users can use 'struct rb_root_cached' to optimize O(logN) rb_first() calls to a simple pointer fetch avoiding potentially expensive tree iterations. This is done at negligible runtime -overhead for maintanence; albeit larger memory footprint. +overhead for maintenance; albeit larger memory footprint. Similar to the rb_root structure, cached rbtrees are initialized to be empty via:: --
Signature · 1 line
~Randy
Quoted 6 lines · Bhaskar Chowdhury
s/maintanence/maintenance/
Signed-off-by Bhaskar Chowdhury <[email protected]>--- Documentation/core-api/rbtree.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
jon