Opened 14 years ago

Closed 14 years ago

#235 closed defect (fixed)

ddi_parea_* functions use blocking btree_* interfaces while holding parea_spinlock

Reported by: Jakub Jermář Owned by:
Priority: major Milestone: 0.4.3
Component: helenos/kernel/generic Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:


For example, ddi_parea_register() takes the parea_spinlock and calls btree_insert() which may allocate memory for a new B+tree node and thus block. In this case, it may be plausible to replace the parea_spinlcok with a mutex.

Change History (1)

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

Resolution: fixed
Status: newclosed

Fixed in changeset:head,416.

Note: See TracTickets for help on using tickets.