-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 2020-03-21 a las 14:03 +0100, Per Jessen escribió:
Carlos E. R. wrote:
El 2020-03-21 a las 09:41 +0100, Per Jessen escribió:
Interrupts are blocked per process. Very basic example: I might have a daemon I want to ignore Ctrl-C (SIGINT), so I block it. Does not mean any other process should also ignore it.
That's totally news to me. :-o
But control c is signal issued by the kernel, not a hardware interrupt that some code has to handle, in order to read the hardware keyboard interface. I'm talking of things like INT 01, INT 02, etc. Some hardware puts a high voltage on a line, and the CPU halts completely and jumps to a predefined address. Hardware.
Which has no bearing on the problem you have described. You said "I tried to kill 'mc' with killall -9. It still refused. " - that means SIGKILL has been disabled (only possible in kernel mode).
It is impossible to block interrupts for minutes
It is entirely possible to block interrupts for minutes.
And then the entire kernel goes kaput.
Uh, no. It just waits - as you have found out.
Not on hardware interrupts, which is what I was thinking about. - -- Cheers Carlos E. R. (from openSUSE 15.1 (Legolas)) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCXnYUFhwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfV29wAoJg0jCBGrUlSpfX+C4On ol7K5yk6AJ9AjMtupdxO1lEzCKNNuV1X3lSfJA== =2kdp -----END PGP SIGNATURE-----