Alle 19:51, lunedì 23 febbraio 2004, Jeff Dike ha scritto:
> caker@xxxxxxxxxxxx said:
> > kernel BUG at include/asm/mmu_context.h:53!
>
> There needs to be an activate_mm call added to the end of the
> PTRACE_SWITCH_MM case in ptrace.c.
Sorry, are you sure? The child process is not running when ptrace() is called,
and this holds even for PTRACE_SWITCH_MM (check ptrace_check_attach()).
So, the child process is not running and activate_mm cannot be called (maybe I
do not understand activate_mm, but it's simply switch_mm, that is called by
schedule, so I think I guessed right).
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
|