On Fri, Jul 04, 2025 at 02:07:43PM -0300, Wander Lairson Costa wrote:
> +#if defined(CONFIG_DEBUG_PREEMPT) || defined(CONFIG_TRACE_PREEMPT_TOGGLE)
> +#define preempt_count_dec_and_test() \
> +     ({ preempt_count_sub(1); should_resched(0); })
> +#endif

Also this is terrible. Surely you can do better.

Reply via email to