mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* struct page for a non-physical-memory address
@ 2006-08-30 13:51 yipee
  0 siblings, 0 replies; only message in thread
From: yipee @ 2006-08-30 13:51 UTC (permalink / raw)
  To: linux-kernel

Hi,

I want to let a nopage mmap handler return a 'struct page' that
refers to a non-physical-memory address (e.g. some device memory).
pfn_valid(x) fails for this address (returning 0) so
pfn_to_page(x) can't be used.
How can I implement this functionality? Must the VM_IO bit be set?
Are there several methods to implement this?


thanks,
y




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-30 13:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-30 13:51 struct page for a non-physical-memory address yipee

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®