Re: [BENCHMARK] scheduler tunables with contest - prio_bonus_ratio

Andrew Morton (akpm@digeo.com)
Thu, 19 Dec 2002 16:27:22 -0800


Robert Love wrote:
>
> I actually have a 2.5.52 patch out which
> is a bit cleaner - it removes the defines completely and uses the new
> variables.

I actually don't mind the

#define TUNABLE (tunable)

thing, because when you look at the code, it tells you that
TUNABLE is "special". Not a local variable, not a formal arg,
not (really) a global variable. It aids comprehension.

Prefixing all the names with "tune_" would suit, too.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/