Re: Need for SHIFT and MASK

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

 



Hi Ingo,

> This is usally table driven and someone has to set up
> this "Page Translation Tables". That's a job of the Linux kernel.

Yes setting up the page table entries is the job of the kernel , but
for that we need to put the physical add. of the page and some bits
(present,access writes etc) in the entry, once it is done the main job
of translation which requires the masking and shifting is done by the
processor whenever that page is referenced .
so why these macros are present in the kernel?


--
Thanks and Regards
Vivek Kutal
http://vivekkutal.blogspot.com

"Live as if you were to die tomorrow. Learn as if you were to live forever."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux