klipper/src/linux
Kevin O'Connor ea546c789b sched: Improve timer vs task priority check
Rename sched_tasks_busy() to sched_check_set_tasks_busy() and change
it to only return true if tasks are active (running or requested) for
two consecutive calls.  This makes it less likely that timers will
yield to tasks except when tasks really are notably backlogged.

This also makes it less likely that multiple steppers controlling the
same rail will be interrupted by tasks mid-step.  This should slightly
improve the timing, and make it less likely that a halt during
homing/probing will occur with these steppers taking a different
number of total steps.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2024-10-26 22:09:14 -04:00
..
analog.c linux: Ability to use multiple GPIO chips (#2935) 2020-06-06 12:47:11 -04:00
console.c linux: Use Unix signals to notify when a timer is pending 2021-11-02 13:27:51 -04:00
gpio.c linux: Don't use absolute paths for include 2024-04-03 22:53:09 -04:00
gpio.h i2c: handle errors at i2ccmds 2024-10-26 22:06:30 -04:00
hard_pwm.c linux: Disable hardware pwm when it is set to zero 2020-07-20 22:18:28 -04:00
i2c.c linux: forward i2c errors to i2ccmd 2024-10-26 22:06:30 -04:00
internal.h linux: add 'GPIOI' for linux process (#5926) 2022-12-11 20:07:58 -05:00
Kconfig Kconfig: Support selecting optional features on chips with small flash size 2023-06-08 12:59:30 -04:00
main.c linux: Don't use absolute paths for include 2024-04-03 22:53:09 -04:00
Makefile scripts: Fix flash linux when OUT argument provided (#6133) 2023-04-07 12:32:23 -04:00
pca9685.c pca9685: Use move queue for pwm updates 2020-12-04 16:10:13 -05:00
sensor_ds18b20.c ds18b20: Allow some read errors 2022-06-08 12:39:12 -04:00
spidev.c linux: Support spidev4 through spidev7 2021-09-15 11:06:10 -04:00
timer.c sched: Improve timer vs task priority check 2024-10-26 22:09:14 -04:00
watchdog.c linux: Rework timer_check_periodic() to use ticks 2021-04-19 09:50:40 -04:00