Reduce the space to be cleared for maple_big_node
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 3 repliesIn review 1 of 2 applied
- v12 patches 2 repliesSuperseded
Patches in v2 1 of 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | maple_tree: remove maple_big_node.parentlib/ | +0 | 1 reply | |
| 2/2 | maple_tree: memset maple_big_node as a wholelib/ | +1 | 1 reply | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Liam R. Howlett |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] Reduce the space to be cleared for maple_big_node
Found current code may clear maple_big_node redundantly.
First we define a filed parent, which is never used. After removing this, we reduce the size of memory to be clear on memset.
Then mast_fill_bnode clear part of the structure twice, since slot and gap shares some space. By clearing the whole structure, we can avoid it.
Wei Yang (2):
maple_tree: remove maple_big_node.parent
maple_tree: memset maple_big_node as a whole
lib/maple_tree.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
Signature · 1 line
2.34.1