Re: [PATCH 1/1] sched_ext: Add error logging for dsq creation failures

From: George Guo

Date: Wed Jan 07 2026 - 22:23:58 EST


Hi Etsal,
Thanks for reviewing!

> While the change looks correct, is there any benefit to it?
Yes, definitely. I found this issue while adding sched_ext support for
LoongArch. When scx_bpf_create_dsq() failed during my development, there
were no error messages at all, which made debugging difficult.

Specifically:
1. The failure was silent - no log, no error message in dmesg
2. I had to add bpf_printk() temporarily to confirm it was dsq creation failing

So the benefit is improved debuggability and faster issue diagnosis.

Thanks!