All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jim Fehlig <jfehlig@novell.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com, John Levon <levon@movementarian.org>
Subject: Re: That xenstored console leak...
Date: Fri, 18 Jan 2008 16:47:21 -0700	[thread overview]
Message-ID: <47913A89.50608@novell.com> (raw)
In-Reply-To: <C3B6E43A.12829%Keir.Fraser@cl.cam.ac.uk>

Keir Fraser wrote:
> On 18/1/08 23:14, "Jim Fehlig" <jfehlig@novell.com> wrote:
>
>   
>> Sorry for the delay.  I'm not sure why you think that the leak would
>> still exist with those changesets reverted.  15957 (and subsequently
>> 15967) introduced the leak by creating a whole new /vm/<uuid>-<num>
>> path, leaving the previous path orphaned.  But I certainly don't claim
>> to be an expert on this code so perhaps I'm not understanding your concern.
>>
>> Nevertheless, I created/destroyed lots of domains on 3.2 with those
>> changesets reverted and do not see the leak.  However I wouldn't expect
>> so since each domain has a different uuid and hence a different
>> /vm/<uuid> path, which is removed when the domain is destroyed.
>>
>> BTW, with those changesets /vm/<uuid> path is leaked on save/restore,
>> reboot, and localhost migration.  Perhaps the source domain in these
>> operations should be removing its /vm path on destruction?
>>     
>
> Okay, so with the two patches reverted plus your patch, there seem to be no
> leaks, and MAC addresses are not lost across localhost relocations?

Correct.  But we do leak, as discussed earlier, /vm/<uuid>/device/vif
when attaching/detaching vifs and I notice the /vm/<uuid> path remains
after a save operation.

>  I guess
> that's the way to go, if so, and I'll commit to 3.3 and 3.2 trees.
>   

Hmm, don't know about replacing one lead with another - although to be
fair it is much smaller :-).  What about my other suggestion of source
domain of these operations nuking its /vm/<uuid> path on destruction?  I
get the feeling there is a race in the localhost migration path that
prevented such an approach, hence c/s 15957.  I could look into this
though if you like, but will be out of town for the next few days and
won't be able to investigate until Tuesday.

> I suppose your patch should also be applicable to 3.1?
>   

It appears so by glancing at the code, but I don't have a 3.1 system
handy atm to verify.

Jim

  reply	other threads:[~2008-01-18 23:47 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-18 23:14 That xenstored console leak Jim Fehlig
2008-01-18 23:18 ` Keir Fraser
2008-01-18 23:47   ` Jim Fehlig [this message]
2008-01-19  8:11     ` Keir Fraser
2008-01-25  2:00       ` Jim Fehlig
2008-01-25  7:44         ` Keir Fraser
     [not found]           ` <479A002E.6010802@novell.com>
2008-01-25 15:41             ` John Levon
2008-01-25 16:21               ` Jim Fehlig
  -- strict thread matches above, loose matches on Subject: below --
2008-01-14 23:49 Jim Fehlig
2008-01-15  8:10 ` Keir Fraser
2008-01-11 17:39 John Levon
2008-01-11 19:24 ` Keir Fraser
2008-01-11 19:48 ` Jim Fehlig
2008-01-11 19:57   ` John Levon
2008-01-14 19:27   ` Jim Fehlig
2008-01-14 20:08     ` John Levon
2008-01-14 21:29       ` Keir Fraser
2008-01-14 21:48         ` John Levon
2008-01-14 21:54           ` Keir Fraser
2008-01-14 22:55             ` John Levon
2008-01-14 22:59               ` Daniel P. Berrange
2008-01-15  8:08                 ` Keir Fraser
2008-01-15  8:06               ` Keir Fraser
2008-01-15 13:42                 ` John Levon
2008-01-15 13:54                   ` Keir Fraser
2008-01-15 13:57                   ` Keir Fraser
2008-01-15 13:59                     ` Keir Fraser
2008-01-15 14:31                       ` John Levon
2008-01-15 14:37                         ` Keir Fraser
2008-01-15 14:38                           ` John Levon
2008-01-15 14:42                             ` Keir Fraser
2008-01-15 15:59                               ` Jim Fehlig
2008-01-15 16:11                                 ` John Levon
2008-01-15 16:28                                   ` Keir Fraser

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=47913A89.50608@novell.com \
    --to=jfehlig@novell.com \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=levon@movementarian.org \
    --cc=xen-devel@lists.xensource.com \
    /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.