aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2013-02-15 10:44:42 -0500
committerBjoern Brandenburg <bbb@mpi-sws.org>2013-02-15 10:44:42 -0500
commit5b8782ef8948c7aad808971f359401f1dc837c25 (patch)
treeb6ceca72779e3030c7c3ea102f4a2f72676851f9 /net/lapb/lapb_iface.c
parent574cad9d2ac20c8df24aa008eecca39331df0bd6 (diff)
Disallow nesting of LITMUS^RT locks
Nesting of locks was never supported in LITMUS^RT since the required analysis does not exist anyway. That is, as defined in the literature, the protocols implemented in LITMUS^RT have not been studied in conjunction with nested critical sections. In LITMUS^RT, attempting to nest locks could lead to silent or not-so-silent bugs. This patch makes this restriction explicit and returns EBUSY when a process attempts to nest resources. This is enforced on a protocol-by-protocol basis, which means that adding protocols with support for nesting in future versions is not affected by this change. Exception: PCP and SRP resources may be nested, but not within global critical sections.
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions