Re: [PATCH v2] Make transparent hugepages cpuset aware

From: David Rientjes
Date: Thu Jun 20 2013 - 16:37:47 EST

On Thu, 20 Jun 2013, Mike Galbraith wrote:

> > I'm suspecting that you're referring to enlarged rss because of
> > khugepaged's max_ptes_none and because you're abusing the purpose of
> > cpusets for containerization.
> Why is containerization an abuse? What's wrong with renting out chunks
> of a big box farm on the fly like a task motel? If a realtime customer
> checks in, he's not gonna be thrilled about sharing a room.

We "abused" cpusets for containerization for years, I'm not implying any
negative connotation to it, see the
Documentation/x86/x86_64/fake-numa-for-cpusets document that I wrote. It
doesn't suggest that we should be controlling thp through cpusets; if he's
complaining about static binaries where he can't use a malloc hook then
why not make it per-process so users don't have to configure cpusets to
control it?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at