Re: Is heap_stack_gap useless?

From: Michal Hocko
Date: Wed Apr 30 2014 - 04:36:28 EST


On Tue 29-04-14 23:59:09, Jidong Xiao wrote:
> On Tue, Apr 29, 2014 at 11:31 PM, Jidong Xiao <jidong.xiao@xxxxxxxxx> wrote:
> > Hi,
> >
> > I noticed this variable, defined in mm/nommu.c,
> >
> > mm/nommu.c:int heap_stack_gap = 0;
> >
> > This variable only shows up once, and never shows up in elsewhere.
> >
> > Can some one tell me is this useless? If so, I will submit a patch to remove
> > it.

Hint: Do not be afraid to do a bit of git research when you want to do
clean-ups like this.
--
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/