Re: [RFC][PATCH 1/2] Show quicklist at meminfo

From: KOSAKI Motohiro
Date: Thu Aug 21 2008 - 03:36:18 EST


> quicklist_total_size() is racy against cpu hotplug. That's OK for
> /proc/meminfo purposes (occasional transient inaccuracy?), but will it
> crash? Not in the current implementation of per_cpu() afaict, but it
> might crash if we ever teach cpu hotunplug to free up the percpu
> resources.

First, Quicklist doesn't concern to cpu hotplug at all.
it is another quicklist problem.

Next, I think it doesn't cause crash. but I haven't any test.
So, I'll test cpu hotplug/unplug testing today.

I'll report result tommorow.

> I see no cpu hotplug handling in the quicklist code. Do we leak all
> the hot-unplugged CPU's pages?

Yes.


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