linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Is heap_stack_gap useless?
@ 2014-04-30  3:31 Jidong Xiao
  2014-04-30  3:59 ` Jidong Xiao
  0 siblings, 1 reply; 3+ messages in thread
From: Jidong Xiao @ 2014-04-30  3:31 UTC (permalink / raw)
  To: Kernel development list, linux-mm

[-- Attachment #1: Type: text/plain, Size: 248 bytes --]

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.

-Jidong

[-- Attachment #2: Type: text/html, Size: 394 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Is heap_stack_gap useless?
  2014-04-30  3:31 Is heap_stack_gap useless? Jidong Xiao
@ 2014-04-30  3:59 ` Jidong Xiao
  2014-04-30  8:36   ` Michal Hocko
  0 siblings, 1 reply; 3+ messages in thread
From: Jidong Xiao @ 2014-04-30  3:59 UTC (permalink / raw)
  To: Kernel development list, linux-mm

Resend to kernel-development list.

The original email wasn't plaintext mode and was rejected by
kernel-development list.

On Tue, Apr 29, 2014 at 11:31 PM, Jidong Xiao <jidong.xiao@gmail.com> 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.
>
> -Jidong

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Is heap_stack_gap useless?
  2014-04-30  3:59 ` Jidong Xiao
@ 2014-04-30  8:36   ` Michal Hocko
  0 siblings, 0 replies; 3+ messages in thread
From: Michal Hocko @ 2014-04-30  8:36 UTC (permalink / raw)
  To: Jidong Xiao; +Cc: Kernel development list, linux-mm

On Tue 29-04-14 23:59:09, Jidong Xiao wrote:
> On Tue, Apr 29, 2014 at 11:31 PM, Jidong Xiao <jidong.xiao@gmail.com> 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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-30  8:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-30  3:31 Is heap_stack_gap useless? Jidong Xiao
2014-04-30  3:59 ` Jidong Xiao
2014-04-30  8:36   ` Michal Hocko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).