Re: *sigh* /proc/*/pagemap

From: Linus Torvalds
Date: Mon Jul 07 2008 - 14:35:43 EST




On Mon, 7 Jul 2008, Matt Mackall wrote:
>
> It exists to make the VM stop being a big black box. Before now the VM
> exposed little beyond statistics, many of which are basically
> meaningless (RSS?). With pagemap, you can actually see precisely where
> things are getting allocated, how they're getting shared, etc. Think
> NUMA, think cell phones.

Umm. How about setting it under CONFIG_DEBUG_VM or something like that
then?

Right now it's not even _asked_ about, unless you're EMBEDDED, and
defaults to 'y'. Which means that it has all the downsides, an none of the
upsides, for 99.99% of all users.

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