lkml.org 
[lkml]   [2008]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: bad paravirt/Xen interaction in "x86 - Enhance DEBUG_RODATA support - alternatives"
Mathieu Desnoyers wrote:
> I think kmap_atomic is only implemented on x86_32 and only deals with
> highmem pages. It will simply return the original page address without
> changing the protection for other pages, which is not what we want.
> Would ioremap() be a good alternative ?
>

Perhaps, though that's uncached by default. You could reserve a fixmap
slot and use set_fixmap to create the mapping. Or use vmap, which may
make dealing with instructions crossing page boundaries a little easier.

J


\
 
 \ /
  Last update: 2008-03-03 19:05    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog