mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [torvalds@osdl.org: Re: Memory leak in 2.6.11-rc1?]
       [not found] <20050124145920.X469@build.pdx.osdl.net>
@ 2005-01-25  5:03 ` Bryce Harrington
  2005-01-25  7:18   ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: Bryce Harrington @ 2005-01-25  5:03 UTC (permalink / raw)
  To: Chris Wright, rddunlap; +Cc: dev, stp-devel, linux-kernel, akpm, hanrahat

Hi Chris,

I applied the patch and reran the test on a RH 9.0 system.  LTP is
continuing past where it failed before, and processes are not getting
killed, so I assume the OOM killer is no longer getting activated.

There is a new behavior, though.  Now the test is hanging indefinitely
on the nptl01 test.  I am assuming that since it passed the spot that it
had failed before, that this is an unrelated issue.

Bryce


On Mon, 24 Jan 2005, Chris Wright wrote:
> Any chance you could re-try with this patch applied?
>
> ----- Forwarded message from Linus Torvalds <torvalds@osdl.org> -----
>
> Date: 	Mon, 24 Jan 2005 14:35:47 -0800 (PST)
> From: Linus Torvalds <torvalds@osdl.org>
> To: Andrew Morton <akpm@osdl.org>
> cc: Jens Axboe <axboe@suse.de>, alexn@dsv.su.se, kas@fi.muni.cz,
>    linux-kernel@vger.kernel.org, lennert.vanalboom@ugent.be
> Subject: Re: Memory leak in 2.6.11-rc1?
>
>
>
> On Mon, 24 Jan 2005, Andrew Morton wrote:
> >
> > Would indicate that the new pipe code is leaking.
>
> Duh. It's the pipe merging.
>
> 		Linus
>
> ----
> --- 1.40/fs/pipe.c	2005-01-15 12:01:16 -08:00
> +++ edited/fs/pipe.c	2005-01-24 14:35:09 -08:00
> @@ -630,13 +630,13 @@
>  	struct pipe_inode_info *info = inode->i_pipe;
>
>  	inode->i_pipe = NULL;
> -	if (info->tmp_page)
> -		__free_page(info->tmp_page);
>  	for (i = 0; i < PIPE_BUFFERS; i++) {
>  		struct pipe_buffer *buf = info->bufs + i;
>  		if (buf->ops)
>  			buf->ops->release(info, buf);
>  	}
> +	if (info->tmp_page)
> +		__free_page(info->tmp_page);
>  	kfree(info);
>  }
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>
> ----- End forwarded message -----
>
>




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

* Re: [torvalds@osdl.org: Re: Memory leak in 2.6.11-rc1?]
  2005-01-25  5:03 ` [torvalds@osdl.org: Re: Memory leak in 2.6.11-rc1?] Bryce Harrington
@ 2005-01-25  7:18   ` Andrew Morton
  2005-01-25 17:43     ` Bryce Harrington
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2005-01-25  7:18 UTC (permalink / raw)
  To: Bryce Harrington; +Cc: chrisw, rddunlap, dev, stp-devel, linux-kernel, hanrahat

Bryce Harrington <bryce@osdl.org> wrote:
>
> There is a new behavior, though.  Now the test is hanging indefinitely
>  on the nptl01 test.  I am assuming that since it passed the spot that it
>  had failed before, that this is an unrelated issue.

I'm finding that nptl01 somtimes gets stuck and sometimes works OK.  Try
running it by hand a few times.

It could be an application bug or a kernel bug.

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

* Re: [torvalds@osdl.org: Re: Memory leak in 2.6.11-rc1?]
  2005-01-25  7:18   ` Andrew Morton
@ 2005-01-25 17:43     ` Bryce Harrington
  2005-01-25 18:24       ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: Bryce Harrington @ 2005-01-25 17:43 UTC (permalink / raw)
  To: Andrew Morton; +Cc: chrisw, rddunlap, dev, stp-devel, linux-kernel, hanrahat

On Mon, 24 Jan 2005, Andrew Morton wrote:
> Bryce Harrington <bryce@osdl.org> wrote:
> >
> > There is a new behavior, though.  Now the test is hanging indefinitely
> >  on the nptl01 test.  I am assuming that since it passed the spot that it
> >  had failed before, that this is an unrelated issue.
>
> I'm finding that nptl01 somtimes gets stuck and sometimes works OK.  Try
> running it by hand a few times.
>
> It could be an application bug or a kernel bug.

Okay, so it doesn't sound like anything to be worried about.

Thanks,
Bryce


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

* Re: [torvalds@osdl.org: Re: Memory leak in 2.6.11-rc1?]
  2005-01-25 17:43     ` Bryce Harrington
@ 2005-01-25 18:24       ` Andrew Morton
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Morton @ 2005-01-25 18:24 UTC (permalink / raw)
  To: Bryce Harrington; +Cc: chrisw, rddunlap, dev, stp-devel, linux-kernel, hanrahat

Bryce Harrington <bryce@osdl.org> wrote:
>
> On Mon, 24 Jan 2005, Andrew Morton wrote:
> > Bryce Harrington <bryce@osdl.org> wrote:
> > >
> > > There is a new behavior, though.  Now the test is hanging indefinitely
> > >  on the nptl01 test.  I am assuming that since it passed the spot that it
> > >  had failed before, that this is an unrelated issue.
> >
> > I'm finding that nptl01 somtimes gets stuck and sometimes works OK.  Try
> > running it by hand a few times.
> >
> > It could be an application bug or a kernel bug.
> 
> Okay, so it doesn't sound like anything to be worried about.
> 

Well no.  If we're sure that kernel changes caused this new behaviour then
that's a problem.

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

end of thread, other threads:[~2005-01-25 18:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20050124145920.X469@build.pdx.osdl.net>
2005-01-25  5:03 ` [torvalds@osdl.org: Re: Memory leak in 2.6.11-rc1?] Bryce Harrington
2005-01-25  7:18   ` Andrew Morton
2005-01-25 17:43     ` Bryce Harrington
2005-01-25 18:24       ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®