On Mon, Oct 25, 2010 at 04:43:55PM +0800, Huang Ying wrote: > On Mon, 2010-10-25 at 16:34 +0800, Andi Kleen wrote: > > > On ia64 (which also uses ACPI), kmap_atomic_pfn() also requires > > > a struct page. An ia64-specific version that doesn't need a struct > > > page would be trivial, but I still don't know how to make it work on > > > x86_64. > > > > Doing a struct page less kmap_atomic() shouldn't be too hard > > on x86 either. > > > > Just to avoid problems with concurrency you likely need per > > CPU mappings. > > One issue is PAT management, like in general ioremap implementation > (reserve_memtype). That's true, didn't consider that. Making that fully lockless is probably too hard. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html