Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 12 years ago

Closed 11 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 Changed 12 years ago by Jiri Svoboda

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

comment:2 Changed 11 years ago by Jakub Jermář

Component: unspecifiedkernel/generic

comment:3 Changed 11 years ago by Jakub Jermář

Resolution: fixed
Status: newclosed

Fixed in changeset:head,435.

Note: See TracTickets for help on using tickets.