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

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#222 closed defect (fixed)

CPU cycle needs to be sampled in waitq_sleep_timeout_unsafe() too

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 (last modified by Martin Decky)

There are two locations in waitq_sleep_timeout_unsafe() that emulate the scheduler() return code. Because we call get_cycle() in the real scheduler() return code, we should also call it in both of these locations.

Note that lp:~ersin/helenos/measure has this already fixed.

Please close this bug only after the fix makes it to the mainline branch.

Change History (2)

comment:1 Changed 9 years ago by Jakub Jermář

Resolution: fixed
Status: newclosed

Fixed in changeset:head,378.

comment:2 Changed 9 years ago by Martin Decky

Description: modified (diff)
Note: See TracTickets for help on using tickets.