Changeset 4ed7870 in mainline
- Timestamp:
- 2024-01-16T15:37:59Z (13 months ago)
- Branches:
- master
- Children:
- ed7e057
- Parents:
- e82879c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/scheduler.c
re82879c r4ed7870 449 449 THREAD->kcycles += get_cycle() - THREAD->last_cycle; 450 450 451 /*452 * On Sparc, this saves some extra userspace state that's not453 * covered by context_save()/context_restore().454 */455 after_thread_ran_arch();456 457 451 if (new_state == Sleeping) { 458 452 /* Prefer the thread after it's woken up. */ … … 517 511 518 512 if (THREAD) { 513 /* 514 * On Sparc, this saves some extra userspace state that's not 515 * covered by context_save()/context_restore(). 516 */ 517 after_thread_ran_arch(); 518 519 519 state_t state = THREAD->state; 520 520 irq_spinlock_unlock(&THREAD->lock, false);
Note:
See TracChangeset
for help on using the changeset viewer.