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

Opened 9 years ago

Closed 9 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:

Description

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 Changed 9 years ago by Jakub Jermář

Resolution: fixed
Status: newclosed

Fixed in changeset:head,416.

Note: See TracTickets for help on using tickets.