Messages in this thread | | | Date | 15 Dec 2007 00:19:11 +0100 | Date | Sat, 15 Dec 2007 00:19:11 +0100 | From | Andi Kleen <> | Subject | Re: [RFC PATCH 06/12] PAT 64b: Add ioremap_wc support |
| |
> For now, we don't track RAM pages using memattr infrastructure. This is because, > memattr infrastructure is not enough. i.e., while the page is getting > tracked using memattr infrastructure,
> potentially the page can get > freed(a bug that we need to catch, to avoid attribute aliasing).
That would be a bug in the caller. But anybody who sets non standard attributes should go through memattr first.
The only exception is /dev/mem -- not sure how to handle this best. Perhaps only allow memattr for non memory for there.
-Andi
| |