Re: [PATCH] Make swap accounting default behavior configurable v4

From: Andrew Morton
Date: Thu Nov 18 2010 - 12:57:16 EST


On Thu, 18 Nov 2010 11:23:49 +0100 Michal Hocko <mhocko@xxxxxxx> wrote:

> > I'm sorry again and again, but I think removing "noswapaccount" completely
> > would be better, as Andrew said first:
>
> I read the above Andrew's statement that we really should stick with the
> old parameter.

yup. We shouldn't remove the existing parameter, which people might be
using already.

> > > So we have swapaccount and noswapaccount. Ho hum, "swapaccount=[1|0]"
> > > would have been better.

What I meant was that it was a mistake to add the "noswapaccount" in
the first place. We should have made it "swapaccount=0", because that
would leave open the later option of reversing the default, and
enabling "swapaccount=1".

It also give us the option of adding "swapaccount=2"! Perhaps to
enable alternative swap accounting behaviour.
--
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/