Re: [Xen-devel] Re: [PATCH 1 of 7] x86: add _PAGE_IOMAP pte flagfor IO mappings
From: Avi Kivity
Date: Wed Sep 10 2008 - 05:55:37 EST
Avi Kivity wrote:
I'm not sure; I still don't really understand how _PAGE_SPECIAL gets
used, other than being user-mode mapping only. But in principle,
_PAGE_IOMAP could be set on both kernel and user mappings (if you direct
map a device into a process address space), so I think they would
conflict then?
It's a "don't refcount me" flag, which is not sematically the same as
I/O, but may be close enough.
Actually it's more of a "no struct page" flag, which implies no
refcounting. And not having a struct page should correspond well to a
pte not requiring pfn->mfn conversion and being an I/O page.
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/