Age | Commit message (Collapse) | Author |
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
removes `proc.c`'s pointless dependency on `vfs/root.h`
|
|
|
|
|
|
|
|
|
|
|
|
thanks to this it's easier to power off - instead of waiting for all
processses to quit (which now involves writing `quit` both on serial and
ps/2), one of those can just somehow kill init.
currently this is just done by exiting from any shell - init will return
from await and exit too
|
|
first off: this is horrible. there's no CoW, so this is horribly slow.
the sole purpose of this is to let the userland delegate handle multiple
requests at once, because i'm implementing concurrent IO and I kinda
need that.
it's possible that handling of multiple requests could be handled in a
better way - but this could be good enough once i implement CoW
|
|
|
|
|