| 4ed4e554 | 01-Nov-2021 |
Feifei Wang <[email protected]> |
mcslock: use wait until scheme for unlock
Instead of polling for mcslock to be updated, use wait until scheme for this case.
Signed-off-by: Feifei Wang <[email protected]> Reviewed-by: Ruifeng W
mcslock: use wait until scheme for unlock
Instead of polling for mcslock to be updated, use wait until scheme for this case.
Signed-off-by: Feifei Wang <[email protected]> Reviewed-by: Ruifeng Wang <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 41902d24 | 01-Nov-2021 |
Feifei Wang <[email protected]> |
pflock: use wait until scheme for read lock
Instead of polling for read pflock update, use wait until scheme for this case.
Signed-off-by: Feifei Wang <[email protected]> Reviewed-by: Ruifeng Wa
pflock: use wait until scheme for read lock
Instead of polling for read pflock update, use wait until scheme for this case.
Signed-off-by: Feifei Wang <[email protected]> Reviewed-by: Ruifeng Wang <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| fa6b4889 | 07-Jul-2021 |
Gavin Hu <[email protected]> |
spinlock: use WFE to reduce contention on aarch64
In acquiring a spinlock, cores repeatedly poll the lock variable. This is replaced by rte_wait_until_equal API.
Running micro benchmarking and test
spinlock: use WFE to reduce contention on aarch64
In acquiring a spinlock, cores repeatedly poll the lock variable. This is replaced by rte_wait_until_equal API.
Running micro benchmarking and testpmd and l3fwd traffic tests on ThunderX2, Ampere eMAG80 and Arm N1SDP, everything went well and no notable performance gain nor degradation was measured.
Signed-off-by: Gavin Hu <[email protected]> Reviewed-by: Ruifeng Wang <[email protected]> Reviewed-by: Phil Yang <[email protected]> Reviewed-by: Steve Capper <[email protected]> Reviewed-by: Ola Liljedahl <[email protected]> Reviewed-by: Honnappa Nagarahalli <[email protected]> Tested-by: Pavan Nikhilesh <[email protected]> Acked-by: Konstantin Ananyev <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 66834f29 | 09-Jul-2021 |
Anatoly Burakov <[email protected]> |
eal: add power monitor for multiple events
Use RTM and WAITPKG instructions to perform a wait-for-writes similar to what UMWAIT does, but without the limitation of having to listen for just one even
eal: add power monitor for multiple events
Use RTM and WAITPKG instructions to perform a wait-for-writes similar to what UMWAIT does, but without the limitation of having to listen for just one event. This works because the optimized power state used by the TPAUSE instruction will cause a wake up on RTM transaction abort, so if we add the addresses we're interested in to the read-set, any write to those addresses will wake us up.
Signed-off-by: Konstantin Ananyev <[email protected]> Signed-off-by: Anatoly Burakov <[email protected]> Tested-by: David Hunt <[email protected]>
show more ...
|