Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
$ iostress 32 512 0 > /vtty # before
512 calls, 0 bytes. avg 121133
$ iostress 32 512 0 > /vtty # after
512 calls, 0 bytes. avg 103540
103540/121133 = ~85%
I think the tiny bit of added complexity is worth it here.
|
|
|
|
i have been planning to implement something like this for a while now.
it should be faster when doing consecutive syscalls (to be tested).
it will also be helpful in writing the elf loader
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this is big in terms of speed, it avoids a lot of unnecessary context
switches
|
|
|
|
It's not really just a text section, as it's writeable too. Makes gcc
shut up about invalid section attributes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
...instead of letting the hwole process stay around.
This could end up a bit more complex, I have no idea how to test killing
processes during vfs requests.
The upside of this is that I can remove all the deathbed/deadparent
weirdness now.
|
|
what a mess
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dead processes now can't have alive children
|
|
|
|
|
|
|
|
|
|
|
|
other parts of the kernel don't need to care about which process exactly
gets switched into
|
|
this makes `process_transition` safe again, as it won't be able to free
processes. it was a pretty unintuitive behaviour
|
|
|