Opened 14 years ago

Closed 14 years ago

#236 closed defect (fixed)

sysinfo functions call blocking slab_alloc() while holding sysinfo_lock 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, according to its comment, sysinfo_create_path() needs to be called with sysinfo_lock held, but it calls a blocking variant of slab_alloc(). Note that blocking while holding a spinlock is considered harmful.

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.