Re: [PATCH] jump_label: jump_label for boot options.

From: KAMEZAWA Hiroyuki
Date: Thu Dec 01 2011 - 19:23:25 EST


On Thu, 01 Dec 2011 16:05:13 +0100
Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:

> On Thu, 2011-12-01 at 11:53 +0900, KAMEZAWA Hiroyuki wrote:
> > I tried to use jump_label for handling memcg's boot options which sets
> > global variable true/false and never changes after boot. And found jump_table
> > is larger than expected. This patch is a trial to allow to place jump_table
> > in .init section. How do you think ?
>
> I think its much saner to go help hnaz remove this shadow page table and
> thus the need for this stupid boot time param.
>

Yes, that's an idea. But we also have another stupid shadow swap accounting
table. This can be disabled at boot, too.

Thanks,
-Kame

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