Opened 15 years ago
Closed 15 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: |
Description
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.
Note:
See TracTickets
for help on using tickets.
Fixed in changeset:head,416.