https://github.com/yuyi2439/DragonOS/commit/6a24d2acd5981d1369cf213c306c46ffce9c39ec
在这个commit时,ProcessSchedulerInfo.cpumask的值貌似会被意外修改,我不太理解
刚获取到新的cpumask是[43, 0]
,再次读取就成了[43, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 146, 171, 31, 0, 128, 255, 255, 2, 0, 0, 0, 0, 0, 0, 0]
,多了很多无关数据
serial输出
[ DEBUG ] (src/process/mod.rs:1290) CpuMask { bmp: AllocBitmap { elements: 128, data: [43, 0], core: BitMapCore { phantom: PhantomData } } }
ee[1;33m[ WARN ] e[0m(src/syscall/mod.rs:882) SYS_RT_SIGPROCMASK has not yet been implemented
[1e[1;33m[ WARN ] e[0m(src/syscall/mod.rs:882) SYS_RT_SIGPROCMASK has not yet been implemented
;33m[ WARN ] e[0m(src/syscall/mod.rs:882) SYS_RT_SIGPROCMASK has not yet been implemented
[ DEBUG ] (src/smp/syscall.rs:15) [43, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 146, 171, 31, 0, 128, 255, 255, 2, 0, 0, 0, 0, 0, 0, 0]
[ DEBUG ] (src/smp/syscall.rs:15) [43, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 146, 171, 31, 0, 128, 255, 255, 2, 0, 0, 0, 0, 0, 0, 0]
36