Re: [PATCH 10/14] Add /sys trigger for per-node memory compaction

From: Andrew Morton
Date: Tue Apr 06 2010 - 20:07:53 EST


On Fri, 2 Apr 2010 17:02:44 +0100
Mel Gorman <mel@xxxxxxxxx> wrote:

> This patch adds a per-node sysfs file called compact. When the file is
> written to, each zone in that node is compacted. The intention that this
> would be used by something like a job scheduler in a batch system before
> a job starts so that the job can allocate the maximum number of
> hugepages without significant start-up cost.

Would it make more sense if this was a per-memcg thing rather than a
per-node thing?

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