Re: [PATCH resend] drop_caches: add some documentation and infomessage

From: Michal Hocko
Date: Tue Jul 30 2013 - 10:47:21 EST


On Tue 30-07-13 07:39:56, Andrew Morton wrote:
> On Tue, 30 Jul 2013 14:55:25 +0200 Michal Hocko <mhocko@xxxxxxx> wrote:
>
> > > > I am OK with that but can we use a top bit instead. Maybe we never have
> > > > other entities to drop in the future but it would be better to have a room for them
> > > > just in case.
> > >
> > > If we add another flag in the future it can use bit 3?
> >
> > What if we get crazy and need more of them?
>
> Then we use bit 4. Then 5. Then 6.
>
> I'm really not understanding your point here ;)

I meant let's keep entities to drop in the low bits and the mode of
printing in the top so they are separated.

--
Michal Hocko
SUSE Labs
--
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/