[PATCH] sched/debug: Validate writes to the scan_size_mb debugfs knob
为 debugfs 中的 scan_size_mb 写入口补上边界校验。原先 sysctl 的 .extra1=SYSCTL_ONE 在迁移到 debugfs 时被丢弃,导致写入 0 或 2^24 倍数值会让 MB_TO_PAGES() 回绕到 0,触发 task_scan_min/task_nr_scan_windows 除零内核 oops。补丁新增 write handler,拒绝非法值并在 qemu 上验证。Chen Yu 给出 Reviewed-by 并建议 kstrtouint_from_user 使用 base 0 以兼容十六进制写入。