[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Active_mm
Hi,
It is used to schedule a kernel thread that has "no
real address space" or mm_struct. So, if we are
scheduling-in the kernel thread (which has no p->mm)
then its next->active_mm will be set to the
prev->active_mm of the task that was scheduled-out,
which will be the same as prev->mm if prev->mm !=
NULL.
Regards
Dharmender Rai
--- R!SC <risc54@inwind.it> wrote: > hi *,
>
> what is active_mm field in task_struct?
> it's often used in schedule alghoritm.
>
> thanks
> R!SC
>
>
> --
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/