Re: [patch 1/7] documentation and scripts

From: Andrew Morton
Date: Thu Oct 12 2006 - 17:37:39 EST


On Thu, 12 Oct 2006 16:43:06 +0900
Akinobu Mita <akinobu.mita@xxxxxxxxx> wrote:

> +- /debug/*/probability:
> +
> + likelihood of failure injection, in percent.

The fact that this is a percentage worries me. When I was playing around
with this sort of thing several years ago I found that even
one-failure-per-thousand was a very high error rate for some testcases.
This interface would force a minimum failure rate of one-per-hundred, which
is terribly high.

So I wonder if it'd be better to make this have units of "one millionth",
or simply make this tunable "1/(probability of failure)". So setting it to
1,000,000 gives you one failure per million calls, on average.

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