Paolo 'Blaisorblade' Giarrusso 12523bdce1 [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 <blaisorblade@yahoo.it>
Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-31 12:18:51 -08:00
..
2006-02-07 16:12:32 -08:00
2005-04-16 15:20:36 -07:00
2006-03-31 12:18:51 -08:00
2005-07-28 21:46:05 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-20 15:48:18 -07:00
2006-03-27 08:44:37 -08:00
2006-03-31 12:18:50 -08:00
2006-03-27 08:44:48 -08:00
2006-03-31 12:18:51 -08:00
2005-04-16 15:20:36 -07:00
2006-03-31 12:18:51 -08:00
2006-01-18 19:20:20 -08:00
2005-09-22 22:17:36 -07:00
2006-03-31 12:18:51 -08:00
2006-01-06 08:33:47 -08:00