diff options
| author | Ingo Molnar <mingo@elte.hu> | 2002-02-23 21:36:00 +0100 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2002-02-23 21:36:00 +0100 |
| commit | 38432d0516cbbffae1278fa7dc2d317df885b289 (patch) | |
| tree | fe55fc4ee2f5f8d747c6ee2c60730591831cecdf /include/linux/init_task.h | |
| parent | eac94688e46e081de1c3b516ee3595d5d8a7c400 (diff) | |
- new, less intrusive and faster migration method:
/*
* This is how migration works:
*
* 1) we queue a migration_req_t structure in the source CPU's
* runqueue and wake up that CPU's migration thread.
* 2) we down() the locked semaphore => thread blocks.
* 3) migration thread wakes up (implicitly it forces the migrated
* thread off the CPU)
* 4) it gets the migration request and checks whether the migrated
* task is still in the wrong runqueue.
* 5) if it's in the wrong runqueue then the migration thread removes
* it and puts it into the right queue.
* 6) migration thread up()s the semaphore.
* 7) we wake up and the migration is done.
*/
Diffstat (limited to 'include/linux/init_task.h')
| -rw-r--r-- | include/linux/init_task.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h index f97e245dcddc..9f34e057079a 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h @@ -52,8 +52,6 @@ mm: NULL, \ active_mm: &init_mm, \ run_list: LIST_HEAD_INIT(tsk.run_list), \ - migration_list: LIST_HEAD_INIT(tsk.migration_list), \ - migration_sem: __MUTEX_INITIALIZER(tsk.migration_sem), \ time_slice: HZ, \ next_task: &tsk, \ prev_task: &tsk, \ |
