Re: [RFC][PATCH 6/6] automatic tuning applied to some kernelcomponents

From: Andrew Morton
Date: Mon Jan 22 2007 - 14:57:11 EST


> On Tue, 16 Jan 2007 07:15:22 +0100 Nadia.Derbey@xxxxxxxx wrote:
> The following kernel components register a tunable structure and call the
> auto-tuning routine:
> . file system
> . shared memory (per namespace)
> . semaphore (per namespace)
> . message queues (per namespace)

This is the part of the patch series which really matters, and I just don't
understand it :(

Why do we want to autotune these things? What problem is this patch series
solving? Please describe this part of the work much, much more completely,
so we can understand the need to add such a large amount of code to the
kernel.

It seems strange that the whole feature is Kconfigurable. Please also
explain the thinking behind that.

I suspect the patches would be much simpler if you simply required that all
these new tunables be of type `long'. About seven eighths of the code
would go away. As would most of those eye-popping macros.
-
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/