Re: [ck] Re: does swsusp suck after resume for you?

From: Andreas Mohr
Date: Thu Mar 16 2006 - 05:52:39 EST


Hi,

On Thu, Mar 16, 2006 at 11:46:30AM +0100, Pavel Machek wrote:
> Looks okay, but... what happens if I set /proc/sys/vm/swap_prefetch to
> "2"? Do nothing but do it agresively?
>
> Maybe having 0 = off, 1 = normal, 2 = aggressive would be less error
> prone for the users.

Hmm, that way you'd prevent further extension of the bitmask (in a
bitmask-only-tunable manner, that is).
BTW: do we want (to avoid) more tunables or more bitmask tunables with
thus more options? Good general question, methinks...
And I don't think that having value 2 set exclusively would hurt.

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