From: Luben Tuikov <luben@splentec.com>
To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: struct page question
Date: Tue, 24 Sep 2002 17:10:03 -0400 [thread overview]
Message-ID: <3D90D4AB.B0BDF702@splentec.com> (raw)
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
next reply other threads:[~2002-09-24 21:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-24 21:10 Luben Tuikov [this message]
2002-09-25 7:34 ` struct page question Jens Axboe
2002-09-25 20:56 ` Luben Tuikov
2002-09-26 5:33 ` Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D90D4AB.B0BDF702@splentec.com \
--to=luben@splentec.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.