Re: [RFC][PATCH] nameing reserved pages [0/3]

From: Kamezawa Hiroyuki
Date: Wed Apr 20 2005 - 09:17:03 EST


Arjan van de Ven wrote:

For example, Memory Hotplug can ignore (a).



Memory Hotplug can also use page_is_ram().


Yes. we can use page_is_ram() for finding (a)memory hole.
But I'd like to catch other removable PG_reserved pages like (d)Isorated by MCA (e)used by perfmon and
some of (b) used by kernerl and (c) Set by drivers.
What I'm thinking of is to detect whether memory is hot-removable or not before removing actually.

/dev/memstate really looks like a bad idea to me as well... I rather
have less than more /dev/*mem*


For showing page usage and its "location", I've thought of other interface, sysfs, procfs...
But I have no idea.
Physical memory area has vast space and I want to use lseek() or ioctl().( I don't like ioctl())
Do you have any recommendation ?

-- Kame


-
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/