Re: module registers

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

 




Yes, i know, but on SMP i try to load and remove the module more time
and it's the dmesg output

This is because the Page tables (including Page global directory) are separate for each process. Each time you invoke insmod, the new process has its own page tables (and pgd).

[*] CPU: 1
[*] CR3: 0000000020421000
Cleaning Up.
[*] CPU: 1
[*] CR3: 000000002613c000
Cleaning Up.
[*] CPU: 0
[*] CR3: 000000000e188000
Cleaning Up.
[*] CPU: 0
[*] CR3: 00000000261d6000

the addrs change for the same CPU too, why?

thanks
--
noone is alone.


 


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux