summaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook/kernel-api.tmpl
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2010-09-09 15:16:56 -0700
committerTony Luck <tony.luck@intel.com>2010-09-09 15:16:56 -0700
commitf574c843191728d9407b766a027f779dcd27b272 (patch)
tree61f464091fa4d59a2782c2c746ebadc766566fd3 /Documentation/DocBook/kernel-api.tmpl
parentd56557af19867edb8c0e96f8e26399698a08857f (diff)
[IA64] fix siglock
When ia64 converted to using ticket locks, an inline implementation of trylock/unlock in fsys.S was missed. This was not noticed because in most circumstances it simply resulted in using the slow path because the siglock was apparently not available (under old spinlock rules). Problems occur when the ticket spinlock has value 0x0 (when first initialised, or when it wraps around). At this point the fsys.S code acquires the lock (changing the 0x0 to 0x1. If another process attempts to get the lock at this point, it will change the value from 0x1 to 0x2 (using new ticket lock rules). Then the fsys.S code will free the lock using old spinlock rules by writing 0x0 to it. From here a variety of bad things can happen. Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'Documentation/DocBook/kernel-api.tmpl')
0 files changed, 0 insertions, 0 deletions