From: Ralf Baechle <ralf@linux-mips.org>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-arch@vger.kernel.org, Adrian Bunk <bunk@stusta.de>
Subject: Re: Double free of initramfs
Date: Tue, 22 Mar 2005 22:41:17 +0000 [thread overview]
Message-ID: <20050322224117.GH31706@linux-mips.org> (raw)
In-Reply-To: <20050321182146.32a20ebf.akpm@osdl.org>
On Mon, Mar 21, 2005 at 06:21:46PM -0800, Andrew Morton wrote:
> > It seems all 25 linker scripts in the current bk tree are suffering from
> > this. Which mean with CONFIG_BLK_DEV_INITRD enabled first free_initrd_mem
> > may be called to free the initram disk and just a little later
> > free_initmem will try to free the entire range again, so either the
> > linker scripts would need fixing or free_initrd_mem has become obsolete.
> >
>
> Hard call. I'd be 51% inclined to change the linker scripts so that the
> freeing of the initram disk happens explicitly, rather than having it
> magically hidden inside the main initmem segment.
>
> Any objections from anyone?
>
> (cc'ed Adrian, who might be interested in raising a patch ;))
I've cooked that already. Let me check if I can dig it up from here - I'm
supposed to be on vacation ;-)
Ralf
next prev parent reply other threads:[~2005-03-22 22:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-16 18:49 Double free of initramfs Ralf Baechle
2005-03-22 2:21 ` Andrew Morton
2005-03-22 22:10 ` Adrian Bunk
2005-03-22 22:41 ` Ralf Baechle [this message]
2005-03-22 22:57 ` Sam Ravnborg
2005-03-22 23:24 ` Sam Ravnborg
-- strict thread matches above, loose matches on Subject: below --
2005-03-22 23:07 Luck, Tony
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050322224117.GH31706@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=akpm@osdl.org \
--cc=bunk@stusta.de \
--cc=linux-arch@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.