All Questions

Tagged with
Filter by
Sorted by
Tagged with
1
vote
1answer
293 views

How does the kernel scheduler know a timeslice has passed?

In my previous question How does the kernel scheduler know how to pre-empt a process? I was given an answer to how pre-emption occurs. Now I am wondering, how does the kernel scheduler know that a ...
1
vote
2answers
469 views

How does the kernel scheduler know how to pre-empt a process?

As far as I understand, the kernel is not a process, but rather a set of handlers that can be invoked from the runtime of another progress (or by the kernel itself via a timer or something similar?) ...
4
votes
1answer
1k views

What does `/proc/irq/…/spurious` contain?

Here is the output from cat /proc/irq/79/spurious: count 28 unhandled 0 last_unhandled 0 ms What are these parameters indicating here — count, last_unhandled? Is this count indicating the number of ...
3
votes
1answer
1k views

Why doesn't SIGINT work on a background process in a script?

I have the following in a script: yes >/dev/null & pid=$! echo $pid sleep 2 kill -INT $pid sleep 2 ps aux | grep yes When I run it, the output shows that yes is still running by the end of ...
4
votes
1answer
524 views

Apart from USR1 and USR2, which signals can I safely use for custom interrupting behavior? (in python)

I have a complex application with USR1 and USR2 already defined as having a well-defined and not replaceable purpose. There are tons of different signals in linux. Might there be another one (maybe a ...