Re: [PATCH v4 2/3] sched: make migrate_enable/migrate_disable inline
From: Peter Zijlstra
Date: Tue Sep 16 2025 - 07:07:39 EST
On Thu, Aug 28, 2025 at 02:03:53PM +0800, Menglong Dong wrote:
> +/* The "struct rq" is not available here, so we can't access the
> + * "runqueues" with this_cpu_ptr(), as the compilation will fail in
> + * this_cpu_ptr() -> raw_cpu_ptr() -> __verify_pcpu_ptr():
> + * typeof((ptr) + 0)
> + *
> + * So use arch_raw_cpu_ptr()/PERCPU_PTR() directly here.
> + */
Please fix broken comment style while you fix that compile error.