Arjan van de Ven wrote:
Yes. we can use page_is_ram() for finding (a)memory hole.For example, Memory Hotplug can ignore (a).
Memory Hotplug can also use page_is_ram().
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 ratherFor showing page usage and its "location", I've thought of other interface, sysfs, procfs...
have less than more /dev/*mem*
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 [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

