* about get_zeroed_page() and page_address()
@ 2001-06-26 21:02 Ho Chak Hung
0 siblings, 0 replies; only message in thread
From: Ho Chak Hung @ 2001-06-26 21:02 UTC (permalink / raw)
To: linux-kernel
In the get_zeroed_page()function, address = page_address(page)
1)Does address point to a contiguous block of 4KB of physical memory? i.e.can I access the individual bytes by *address++?
2)How is page_address() function defined? I did a grep and found something like: #define page_address(page) ({ if (!(page)->virtual) BUG(); (page)->virtual; })? What's (page)->virtual?
Thanks
Any help would be greatly appreciated.
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-06-26 21:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-26 21:02 about get_zeroed_page() and page_address() Ho Chak Hung
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®