User Details
- User Since
- May 16 2014, 7:35 PM (612 w, 6 d)
Today
Yesterday
I prefer to expose one function. There is no harm from returning unused value.
Keep interrupts disabled around ops for SCHED.
Allow SAFE variants of RENDEZVOUS.
Ok, I give up to make some progress. I still disagree with this approach.
We do want the unwind info generated for libsys. Although libsys cannot generate exceptions synchronously, it still might be the last frame for stack where signal is delivered for process that slept in the slow syscall. The unwinding info is needed for any dwarf stack unwinders then, like gdb, libunwind, etc, even in its armv7 variant, as far as I understand.
IMHO the control flow could be made less confusing. Right now it is 'break' -> userret, and in one place it is goto no_userret. I suggest to add a control variable like 'use_userret', set to true, assigned from svc_handler() return value. Then instead of goto no userret. check the value of use_userret around userret() call. Hope it is understandable.
Wed, Feb 11
Expand LASS in the comment.
Add comment why SMAP is required.
Require SMAP for LASS.
Bump prio around SCHED
Well, I said that the kernel is real-time, not that the system is. One of the reason why it is not is the frivolous use of the sections with disabled interrupts, and I do not see why adding more of it.
For instance, RENDEZVOUS which disables interrupts must wait for all CPUs to leave the sections of disabled interrupts, which is accumulating and causes even longer delays.
Move setting CR4.LASS into initializecpu()
Tue, Feb 10
And remove stale comment
Remove blank line
Mon, Feb 9
Ping?
