mm/vmalloc.c: improve readability and rewrite vmap_area
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest2 patches 3 repliesIn review
- v52 patches 2 repliesSuperseded
- v42 patches 4 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 1 patch | 0 replies | Superseded | |
| v2 | 5 patches | 2 replies | Superseded | |
| v1 | 5 patches | 6 replies | Superseded |
Changes in v6 from the cover letter
* patch 2: keep the comment in s_show()
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm/vmalloc: do not keep unpurged areas in the busy treemm/ | +44 | 2 replies | |
| 2/2 | mm/vmalloc: modify struct vmap_area to reduce its sizeinclude/ mm/ | +23 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Uladzislau Rezki (Sony) |
|---|---|
| 1/2 | |
| 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 v6 0/2] mm/vmalloc.c: improve readability and rewrite vmap_area
v5 -> v6
* patch 2: keep the comment in s_show()
v4 -> v5
* Base on next-20190716
* patch 1: From Uladzislau Rezki (Sony) <[email protected]> (author)
- https://lkml.org/lkml/2019/7/16/276
* patch 2: Use v3
v3 -> v4:
* Base on next-20190711
* patch 1: From: Uladzislau Rezki (Sony) <[email protected]> (author)
- https://lkml.org/lkml/2019/7/3/661
* patch 2: Modify the layout of struct vmap_area for readability
v2 -> v3:
* patch 1-4: Abandoned
* patch 5:
- Eliminate "flags" (suggested by Uladzislau Rezki)
- Base on https://lkml.org/lkml/2019/6/6/455
and https://lkml.org/lkml/2019/7/3/661
v1 -> v2:
* patch 3: Rename __find_vmap_area to __search_va_in_busy_tree instead of __search_va_from_busy_tree.
* patch 5: Add motivation and necessary test data to the commit message.
* patch 5: Let va->flags use only some low bits of va_start instead of completely overwriting va_start.
The current implementation of struct vmap_area wasted space.
After applying this commit, sizeof(struct vmap_area) has been reduced from 11 words to 8 words.
Pengfei Li (1):
mm/vmalloc: modify struct vmap_area to reduce its size
Uladzislau Rezki (Sony) (1):
mm/vmalloc: do not keep unpurged areas in the busy tree
include/linux/vmalloc.h | 20 +++++++---- mm/vmalloc.c | 76 +++++++++++++++++++++++++++++------------ 2 files changed, 67 insertions(+), 29 deletions(-)
Signature · 1 line
2.21.0