diff options
| author | Paolo 'Blaisorblade' Giarrusso <[email protected]> | 2006-03-31 02:30:18 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-03-31 12:18:51 -0800 |
| commit | 12523bdce1a6b5a3a2627b9901162bbd3eef33ed (patch) | |
| tree | 02e9807abdd6df71468d61a9883510541f765ecb /scripts/basic | |
| parent | e11c0cdf4c6f7976e6f4fe221369a7b420245389 (diff) | |
[PATCH] uml: idle thread needn't take access to init_mm
Comparing this code which is the actual body of the arch-independent
cpu_idle(), it is clear that it's unnecessary to set ->mm and ->active_mm;
beyond that, a kernel thread is not supposed to have ->mm != NULL, only
active_mm.
This showed up because I used the assumption (which is IMHO valid) that kernel
thread have their ->mm == NULL, and it failed for this thread.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[email protected]>
Acked-by: Jeff Dike <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions