Re: Blocking syscalls in Tasks



On 27 Sep., 20:58, Hibou57 (Yannick Duchêne)
<yannick_duch...@xxxxxxxx> wrote:

I've tryed to check for a reliable references, and found something
which may help you to make some assertion. It seems that it is thread/
task blocking rather than process blocking. This is based on mail
exchanged by developpers of the Linux kernel. It is dated Sun, 12 Aug
2007, so do not make assertion using this about too much old kernels
(you did not say what kernel version you use, neither if it is a
vanilla one or not)

Here is the link to the mail at the LKML mail archives :http://lkml.org/lkml/2007/8/12/102


Hi,

I think this only refers to the Linux kernel's threads. As far as I
know (I'm far from being an expert in threads..), in kernelspace
threads, a syscall does not block the entire process but only the
calling thread. In fact, this is the main advantage over userspace
threads.

I don't know whether Ada tasks necessarily are threads and whether it
is specified whether they are kernel- or userspace threads or some
hybrid stuff.

Chris
.



Relevant Pages

  • Re: System crash when using mksysb
    ... W> still be a hardware problem? ... An failed assertion such as this means that some ... Below is the kernel stack trace. ... contexts into kernel mode so it can access the kernel address ...
    (comp.unix.aix)
  • Re: Assertion in KeUpdateRunTime with Free Build of Windows Vista.
    ... First this is a bugcheck not an assertion. ... Second, fix your kernel symbols ... without this there is no hope of debugging it. ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ...
    (microsoft.public.development.device.drivers)
  • calcru question
    ... it asserts that its tdoncpu field be anything but NOCPU. ... this assertion fails and the kernel panics. ...
    (freebsd-hackers)
  • [2.6] ethertap and af_inet.c assertion failures
    ... following assertion failures while using the phion vpn client, ... there are no closed source kernel modules or the ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)