x86: enable malloc and friends
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 20 repliesIn review
- v14 patches 7 repliesSuperseded
Changes in v2 from the cover letter
- introduced alloc_zeroed_page [Paolo]
- kept spinlocks in phys_alloc_init [Thomas]
- added more improvements to alloc/free_page, e.g locks [drew]
- force phys_alloc alignment to be set once [drew]
- new patch that renames alloc.c's state [drew]
- fix vmalloc-based memalign v1 bug. Didn't consider size offset [drew]
- added huge commit message for "lib/x86/vm: enable malloc and friends" to try to justify it [drew]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | lib/x86/vm: collection of improvementslib/ lib/ | +39 | 2 replies | |
| 2/6 | lib/alloc: improve initlib/ lib/ lib/ +1 more | +25 | 1 reply | |
| 3/6 | lib/alloc: prepare to extend alloc.c's purposelib/ | +51 | 1 reply | |
| 4/6 | x86: lib/alloc: move heap management to liblib/ lib/ lib/ +1 more | +62 | 4 replies | |
| 5/6 | x86: lib/alloc: introduce alloc_zeroed_pagelib/ lib/ lib/ +2 more | +27 | 3 replies | |
| 6/6 | lib/x86/vm: enable malloc and friendslib/ lib/ | +43 | 9 replies |
Reviews trailers per patch
2 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Laurent Vivier |
|---|---|
| 1/6 | |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [kvm-unit-tests PATCH v2 0/6] x86: enable malloc and friends
And do some other alloc related things too...
v2:
- introduced alloc_zeroed_page [Paolo]
- kept spinlocks in phys_alloc_init [Thomas]
- added more improvements to alloc/free_page, e.g locks [drew]
- force phys_alloc alignment to be set once [drew]
- new patch that renames alloc.c's state [drew]
- fix vmalloc-based memalign v1 bug. Didn't consider size offset [drew]
- added huge commit message for "lib/x86/vm: enable malloc and friends" to try to justify it [drew]
Didn't take Thomas' r-b for "move heap management to lib", because it changed too much.
Andrew Jones (6):
lib/x86/vm: collection of improvements
lib/alloc: improve init
lib/alloc: prepare to extend alloc.c's purpose
x86: lib/alloc: move heap management to lib
x86: lib/alloc: introduce alloc_zeroed_page
lib/x86/vm: enable malloc and friends
lib/alloc.c | 160 +++++++++++++++++++++++++++++++++++++--------------- lib/alloc.h | 18 +++++- lib/arm/setup.c | 2 +- lib/powerpc/setup.c | 2 +- lib/x86/asm/page.h | 2 + lib/x86/vm.c | 105 ++++++++++++++++++++-------------- lib/x86/vm.h | 2 +- x86/Makefile.common | 1 + x86/vmx.c | 19 +++---- x86/vmx_tests.c | 28 ++++----- 10 files changed, 217 insertions(+), 122 deletions(-)
Signature · 1 line
2.7.4