On Wed, 2005-04-20 at 16:30 +0200, Arjan van de Ven wrote:
> Why do you want this exported to userspace? There is absolutely no way
> you can get this exported race free without shutting the VM down, and
> without being race free this information has absolutely no meaning !!
> (and when you shut the VM down you really shouldn't depend on userspace
> anymore either)
The two cases where this is expected to be used are not concerned with
races. The first is when a memory remove operation occurs. It first
looks at the hotplug area, and removes all the pages that it can from
the allocator. Then, it sets about migrating all of the other pages
that are being used for things like page cache or anonymous memory.
After that, the question sometimes remains why particular pages can't be
removed. Kame's patch is an attempt to help figure that out.
That's one reason I suggested having an individual device file for each
of the memory areas that get added or removed. It would keep the
confusion to a minimum, and you'd be more sure that what you were
looking at was information only for the memory area that is *almost*
removed.
I don't know what state the system is in when the kdump folks want to
read this information.
-- Dave
-
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]