Re: [PATCH] eliminate nswap and cnswap

From: Bill Davidsen
Date: Tue Apr 13 2004 - 11:57:21 EST


Albert Cahalan wrote:
The nswap and cnswap variables counters have never
been incremented as Linux doesn't do task swapping.


I'm pretty sure they were used for paging activity.
We don't eliminate support for "swap space", do we?

Somebody must have broken nswap and cnswap while
hacking on some vm code. I hate to see the variables
get completely ripped out of the kernel instead of
getting fixed.

Since Linux doesn't swap, "fixed" would mean returning zero for these values. I don't thing even BSD swaps anymore, does it? In any case, Linux never did.

--
-bill davidsen (davidsen@xxxxxxx)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me
-
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/