sched/psi: Fix trigger time arithmetic
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | sched/psi: Fix long-window growth interpolationkernel/ | +4 | 2 replies | |
| 2/2 | sched/psi: Fix overflow in trigger time conversion on 32-bitkernel/ | +2 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Suren Baghdasaryan | Tao Cui |
|---|---|---|
| 1/2 | A-b | A-b |
| 2/2 | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] sched/psi: Fix trigger time arithmetic
From: Guopeng Zhang <[email protected]>
PSI trigger time handling has two integer-width bugs. Long windows can be truncated during growth interpolation, and the multiplication used for the interpolation can overflow before the division. Separately, the microsecond-to-nanosecond conversion can wrap on 32-bit systems before the result is stored in a u64.
Fix the two issues independently.
Guopeng Zhang (2):
sched/psi: Fix long-window growth interpolation sched/psi: Fix overflow in trigger time conversion on 32-bit
kernel/sched/psi.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
base-commit: 1a1757b76427f6201bfe0bf1bea9f7574f332a93
Signature · 1 line
2.43.0