Re: Does cr3 register change when a new process is scheduled ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



yes, every process running will have a different CR3 value....easily
seen when u printk() the value from different kernel module....and the
kernel module is running in the same process context as the "insmod"
that started the kernel module....so u can see the process name is
"insmod" if u printk() the value of the process name.   ie, user +
kernel mode all shared the same CR3 value, but different process will
have different value.

On Thu, Jan 15, 2009 at 10:33 AM, George Kumar <grgkumar4@xxxxxxxxx> wrote:
> Let us suppose we are talking about a uni processor system. Do we
> change cr3 page directory control register when a new process is
> scheduled to run on the CPU.
>
> thanks.
> George
> --

-- 
Regards,
Peter Teoh
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux