From c3a5e413b7f0aa9c4ff79d872d7ceca21ddb9737 Mon Sep 17 00:00:00 2001 From: compudj Date: Wed, 4 Oct 2006 21:18:10 +0000 Subject: [PATCH] update lock git-svn-id: http://ltt.polymtl.ca/svn@2178 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt-control/configure.in | 2 +- ltt-control/facilities/locking.xml | 70 ++++++++++-------------------- 2 files changed, 24 insertions(+), 48 deletions(-) diff --git a/ltt-control/configure.in b/ltt-control/configure.in index b61ced4a..0546c049 100644 --- a/ltt-control/configure.in +++ b/ltt-control/configure.in @@ -23,7 +23,7 @@ AC_PREREQ(2.57) AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS) #AC_WITH_LTDL # not needed ? -AM_INIT_AUTOMAKE(ltt-control,0.26-04102006) +AM_INIT_AUTOMAKE(ltt-control,0.27-04102006) AM_CONFIG_HEADER(config.h) AM_PROG_LIBTOOL diff --git a/ltt-control/facilities/locking.xml b/ltt-control/facilities/locking.xml index d4ed9226..d4ee266b 100644 --- a/ltt-control/facilities/locking.xml +++ b/ltt-control/facilities/locking.xml @@ -1,64 +1,40 @@ The locking facility instruments the kernel locking. - - Takes a spinlock - Spinlock address - - - - Tries a spinlock - Spinlock address - - - Get a spinlock - Spinlock address + + Enable IRQs + Instruction address - - Releases a spinlock - Spinlock address + + Disable IRQs + Instruction address - - Disable IRQ, saving state - - Instruction pointer where the irq_save is located. - - - - Saved IRQ state. - - + + Enable SoftIRQs + Instruction address - - Disable IRQ, saving state - - Instruction pointer where the irq_restore is located. - - - - Restored IRQ state. - - + + Disable SoftIRQs + Instruction address - - Disable IRQ - - Instruction pointer where the irq_disable is located. - - + + Acquire lock + Instruction address + Lock subclass + Lock address + Trylock ? - - Disable IRQ - - Instruction pointer where the irq_enable is located. - - + + Release lock + Instruction address + Lock address + Nested release ? -- 2.34.1