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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux