Opened 14 years ago

Closed 14 years ago

#232 closed defect (fixed)

thread_update_accounting() asserts locking policy which is not adhered to

Reported by: Jiri Svoboda Owned by:
Priority: major Milestone: 0.4.3
Component: helenos/kernel/generic Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:


The docblock of thread_update_accounting() states: 'Note that thread_lock on THREAD must be already held and interrupts must be already disabled.' But it is called unprotected from syscall_handler() where neither is true.

Change History (3)

comment:1 by Jiri Svoboda, 14 years ago

In exc_dispatch() interrupts are disabled, but THREAD lock is NOT held.

comment:2 by Jakub Jermář, 14 years ago

Component: unspecifiedkernel/generic

comment:3 by Jakub Jermář, 14 years ago

Resolution: fixed
Status: newclosed

Fixed in changeset:head,435.

Note: See TracTickets for help on using tickets.