tcg: allocate TB structs preceding translate
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 1 replyIn review
- v23 patches 14 repliesSuperseded
- v11 patch 1 replySuperseded
Changes in v3 from the cover letter
- Dropped the configure-time check. Instead, do this at init-time as suggested by Richard.
- Added Pranith's R-b tag to the TCG patch.
- Added cache info query for Windows thanks to Geerd's help.
- Added cache info query for MacOS [ #ifdef __APPLE__ ] via sysctl. (Note:
I only tested the code on a standalone program, since I cannot install QEMU's dependences on the MacOS machine I got access to)
- Use int instead of unsigned int for the line sizes. This allows us to use ROUND_UP without having to cast to int (ROUND_UP negates the alignment parameter)
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | util: add cacheinfoinclude/ util/ util/ | +162 | 0 replies | |
| 1/2 | util: add cacheinfoinclude/ util/ util/ | +162 | 1 reply | |
| 2/2 | tcg: allocate TB structs before the corresponding translated codeinclude/ tcg/ tcg/ +1 more | +46 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Geert Martin Ijewski | Pranith Kumar |
|---|---|---|
| 1/2 | T-b T-b | R-b |
| 1/2 | T-b T-b | 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 [Qemu-devel] [PATCH v3 0/2] tcg: allocate TB structs preceding translate
v2: https://lists.gnu.org/archive/html/qemu-devel/2017-06/msg01147.html
Changes from v2:
- Dropped the configure-time check. Instead, do this at init-time as suggested by Richard.
- Added Pranith's R-b tag to the TCG patch.
- Added cache info query for Windows thanks to Geerd's help.
- Added cache info query for MacOS [ #ifdef __APPLE__ ] via sysctl. (Note:
I only tested the code on a standalone program, since I cannot install QEMU's dependences on the MacOS machine I got access to)
- Use int instead of unsigned int for the line sizes. This allows us to use ROUND_UP without having to cast to int (ROUND_UP negates the alignment parameter)
Question: is it worth adding a paranoid check to make sure the linesizes we obtain are a pow2? If there's a bug somewhere in the reporting, we'll get in trouble due to ROUND_UP, which only works with pow2 parameters. A safer alternative is to use QEMU_ALIGN_UP, but it's slower.
This patchset applies cleanly on top of the current master (65dfad62a).
Thanks,
Emilio