linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC] tabulating page->virtual on highmem
@ 2002-05-08 22:15 William Lee Irwin III
  2002-05-09 23:31 ` William Lee Irwin III
  0 siblings, 1 reply; 2+ messages in thread
From: William Lee Irwin III @ 2002-05-08 22:15 UTC (permalink / raw)
  To: linux-mm

The size of the kmap pool appears to dictate the number of distinct
values of page->virtual. Maintaining an index into the pool would
seem to provide superior space behavior, as the index need not be
of full machine word precision. Furthermore, no auxiliary lookup
would appear to be required as the kmap pool is virtually contiguous
and so the virtual address could be calculated from base virtual
address of the kmap pool and the index into the pool.

For architectures using page->virtual for page_address() calculation
this technique does not apply, and so page->virtual would then need
to be maintained as is, or at least retain enough precision for a full
page frame number.

I don't have my heart set on this but I thought I'd at least throw the
idea out where its desirability (and potential implementations) could
be discussed.


Cheers,
Bill
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

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

end of thread, other threads:[~2002-05-09 23:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-08 22:15 [RFC] tabulating page->virtual on highmem William Lee Irwin III
2002-05-09 23:31 ` William Lee Irwin III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox