This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: Do not relaunch tftpd server upon second invocation of profile_on
- From: "Øyvind Harboe" <oyvind dot harboe at zylin dot com>
- To: "Andrew Lunn" <andrew at lunn dot ch>
- Cc: "eCos Disuss" <ecos-patches at ecos dot sourceware dot org>
- Date: Fri, 31 Oct 2008 10:55:03 +0100
- Subject: Re: Do not relaunch tftpd server upon second invocation of profile_on
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=OhCbHpRFrYvIz3YCAYVyrXXoqlEZvhNUDHCeJ/o4aFw=; b=E8G+Po8bGSL10+ta8CSUdpTytT28p9EogJrjHBp91gbGRGLb743xrUIofzP1PI4bEm vHvnToGIN6uVK1XfyCrX8tDaMy5fYexpYlIZ0xHO6mlkdP+7jNzoSbyvoOewg6sjH+l0 mPFV1nn9q0Soe3Zs4lPHgYaMeMj7QdNXQtMHw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=LCyy83iKJ6lohk+svzruGKEpi757WPBlAQjfUtx8fbA9ogicHJ1DwQucHCHsuBVtSD H6GaGr1yRaf5l3llURw6kBXeOX6YKw/oITvQdpBR0JRJpdE0SVwtKtSbmHOZ/iBA1+jh qKGwj57uxn+IAUpKUHPWr+FJCxWjUYVqRg/Ss=
- References: <c09652430810140440p1b13ccf5qe211a4566462c1ab@mail.gmail.com> <20081029204215.GB5431@lunn.ch> <c09652430810300751n7f8bf34avd7aa888225e354fc@mail.gmail.com> <20081031094616.GH388@lunn.ch>
On Fri, Oct 31, 2008 at 10:46 AM, Andrew Lunn <andrew@lunn.ch> wrote:
> On Thu, Oct 30, 2008 at 03:51:25PM +0100, ?yvind Harboe wrote:
>> Fixed comment.
>
> Hi Oyvind
>
> When working on a patch i like to understand the bug that is being
> fixed and how the patch really fixes it.
>
> Could you provide this background? What is currently wrong?
When profiling is restarted, a second tftpd server will be launched. This is
wrong. I don't know precisely what side effects this will cause, minimally
it will cause memory loss + the tftpd server thread will best case fail
gracefully.
Of course a memory loss isn't very obvious, so things can appear to
work fine.
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer