Re: Need for SHIFT and MASK

From: Vivek Kutal
Date: Mon Oct 10 2005 - 08:13:59 EST


> And as far as SHIFT, MASK, SIZE macros are concerned they are used in
> creating Page Translation Tables and also used to get the translation
> from linear to physical

how are these macros used to create page translation tables (functions
like pgd_alloc(), pmd_alloc() & pte_alloc() are used for this
purpose)and the translation (virtual/linear to physical)is done by
the processor and not by the OS.


--
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/