liburing micro-optimzation
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | nolibc: Fix bloated memset due to unexpected vectorizationsrc/ | +8 | 1 reply | |
| 2/2 | register: Simplify `io_uring_register_file_alloc_range()` functionsrc/ | +4 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Alviro Iskandar Setiawan |
|---|---|
| 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 liburing v1 0/2] liburing micro-optimzation
From: Ammar Faizi <[email protected]>
Hi Jens,
This series contains liburing micro-optimzation. There are two patches in this series:
## Patch 1
- Fix bloated memset due to unexpected vectorization.
Clang and GCC generate an insane vectorized memset() in nolibc.c. liburing doesn't need such a powerful memset(). Add an empty inline ASM to prevent the compilers from over-optimizing the memset().
## Patch 2
- Simplify io_uring_register_file_alloc_range() function. Use a struct initializer instead of memset(). It simplifies the C code plus effectively reduces the code size.
---
Ammar Faizi (2):
nolibc: Fix bloated memset due to unexpected vectorization
register: Simplify io_uring_register_file_alloc_range() function
src/nolibc.c | 9 ++++++++- src/register.c | 9 ++++----- 2 files changed, 12 insertions(+), 6 deletions(-)
base-commit: c76d392035fd271980faa297334268f2cd77d774
Signature · 1 line
Ammar Faizi