First patch is replacing uint64_t by u64 as suggested by b4
Second patch optimizes cyclic_run() to parse cyclic list only 
if a cyclic function's timestamp is elapsed.

To: [email protected]
Cc: Stefan Roese <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Marek Vasut <[email protected]>

Signed-off-by: Patrice Chotard <[email protected]>
---
Changes in v3:
- Rework cyclic_run() to not call get_timer_us() on each entry.
- Link to v2: 
https://patch.msgid.link/[email protected]

Changes in v2:
- move cyclic with nearest deadline on list's head.
- Link to v1: 
https://patch.msgid.link/[email protected]

To: [email protected]
Cc: Stefan Roese <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Rasmus Villemoes <[email protected]>

---
Patrice Chotard (2):
      cyclic: replace uint64_t by u64 suggested by b4
      cyclic: reduce get_timer_us() calls inside hlist_for_each_entry_safe()

 common/cyclic.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
---
base-commit: 1296a428c67cf103eca482d4a63349661c1b799f
change-id: 20260702-optimize_cyclic_run-ecdc46f12829

Best regards,
--  
Patrice Chotard <[email protected]>

Reply via email to