> Andi, we are planning to add couple of page flags which will track
page flags are still scarce unfortunately, at least on 32bit.
It's a little better now than it used to be (at some point
they were nearly out before some were reclaimed), but adding a lot
of flags is still difficult.
In interest of full disclosure I need at least two for other
work too.
On 64bit adding a lot of new flags is fine, but 64bit only
solutions are not good in this case.
You want to handle that in __free_pages?
I would have thought that should be handled in some higher level
function which could just check the memattr.
If the driver is exposing this
The issue is just if you reuse the two list heads in struct page
because they're already used by the
Adding flags does not conflict here of course.
Reserved region defined how exactly?
-Andi
--