linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* struct page question
@ 2002-09-24 21:10 Luben Tuikov
  2002-09-25  7:34 ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: Luben Tuikov @ 2002-09-24 21:10 UTC (permalink / raw)
  To: linux-kernel

Is it possible to build a struct page *page, where
page_address(page) == some virtual address (not high mem of course)?

The reason I want to do this is so that I can pass it to
generic_make_request(), having only a pointer to a buffer
and size to a buffer, and the fact that not all devices
have request_fn() exposed (e.g. md).

Apparently I cannot just set b_data and b_size, b_page
also has to be set and it also seems that it will
not work if page_address(b_page) != b_data...

Thanks,
-- 
Luben

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-09-26  5:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-24 21:10 struct page question Luben Tuikov
2002-09-25  7:34 ` Jens Axboe
2002-09-25 20:56   ` Luben Tuikov
2002-09-26  5:33     ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).