[lkml]   [2003]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: virt_to_page/pci_map_page vs. pci_map_single
>>>>> On 03 Nov 2003 09:17:59 -0500, Jes Sorensen <> said:

>>>>> "Jamie" == Jamie Wellnitz <> writes:
Jamie> On Mon, Nov 03, 2003 at 03:10:46AM -0500, Jes Sorensen wrote:
>>> virt_to_page() can handle any page in the standard kernel region

Jamie> What is the "standard kernel region"? ZONE_NORMAL?

Jes> Hmmm, my brain has gotten ia64ified ;-) It's basically the normal
Jes> mappings of the kernel, ie. the kernel text/data/bss segments as well
Jes> as anything you do not get back as a dynamic mapping such as
Jes> ioremap/vmalloc/kmap.

I don't think it's safe to use virt_to_page() on static kernel
addresses (text, data, and bss). For example, ia64 linux nowadays
uses a virtual mapping for the static kernel memory, so it's not part
of the identity-mapped segment.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:58    [W:0.077 / U:4.372 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site