ia64 linux question

ratheesh kannoth <[email protected]>
Newsgroups org.kernel.vger.linux-newbie
Message-ID <CAGZFCEFJrGD8aUu8kBHD8C0WGEv0NnD1=RAs=ve-DwisWA50oA@mail.gmail.com>
Hi,

I am running  2.6.29.1 on ia-64 hardware.


when i run  below code in a module

void *ptr =  kmalloc( 10 ,GFP_KERNEL )

i got a valid ptr ( ptr != NULL ) ..but i saw that

ptr == vitr_to_phy(ptr ) == virt_to_bus(ptr )

1. why   the physical and vitrual address  are same ?
2. is this sthing that we can change in kernel config during kernel
compilation ?

-Ratheesh
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.