Re: virt_to_page/pci_map_page vs. pci_map_single

From: Jes Sorensen
Date: Mon Nov 03 2003 - 09:18:58 EST

>>>>> "Jamie" == Jamie Wellnitz <Jamie.Wellnitz@xxxxxxxxxx> 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?

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

>> pci_map_page() is the correct API to use, pci_map_single() is
>> deprecated.

Jamie> Are you talking about 2.4 or 2.6 or both?

Both really.

Jamie> The Document/DMA-mapping.txt in 2.6.0-test9 says "To map a
Jamie> single region, you do:" and then shows pci_map_single. Is
Jamie> DMA-mapping.txt in need of patching?

Sounds like it needs an update.

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