From: Sachin Sant <sachinp@linux.vnet.ibm.com>
To: Bharata B Rao <bharata@linux.vnet.ibm.com>
Cc: linuxppc-dev@ozlabs.org, nfont@linux.vnet.ibm.com
Subject: Re: [FIX PATCH v1] powerpc/pseries: Fix reference count leak during CPU unplug
Date: Thu, 9 Mar 2017 11:48:39 +0530 [thread overview]
Message-ID: <F4FE280B-9F47-4ABF-85BC-A166710CF47B@linux.vnet.ibm.com> (raw)
In-Reply-To: <1489034268-24888-1-git-send-email-bharata@linux.vnet.ibm.com>
> Fix this by ensuring that of_node_put() is called only from the
> error path in dlpar_cpu_remove_by_index(). In the normal path,
> of_node_put() happens as part of dlpar_detach_node().
>
> Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
> Cc: Nathan Fontenot <nfont@linux.vnet.ibm.com>
> ---
> Changes in v1:
> - Fixed the refcount problem in the userspace driven unplug path
> in addition to in-kernel unplug path. (Sachin Sant)
>
> v0: https://patchwork.ozlabs.org/patch/736547/
>
Thanks Bharata.
Tested cpu hotplug/unplug with this fix on a PowrVM LPAR.
Tested-by : Sachin Sant <sachinp@linux.vnet.ibm.com>
Thanks
-Sachin
next prev parent reply other threads:[~2017-03-09 6:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-09 4:37 [FIX PATCH v1] powerpc/pseries: Fix reference count leak during CPU unplug Bharata B Rao
2017-03-09 6:18 ` Sachin Sant [this message]
2017-03-09 10:52 ` Michael Ellerman
2017-03-09 21:34 ` Tyrel Datwyler
2017-03-13 10:29 ` Bharata B Rao
2017-03-14 20:42 ` Tyrel Datwyler
2017-03-15 10:48 ` Sachin Sant
2017-03-22 16:17 ` Michael Bringmann
2022-03-11 17:14 ` Christophe Leroy
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=F4FE280B-9F47-4ABF-85BC-A166710CF47B@linux.vnet.ibm.com \
--to=sachinp@linux.vnet.ibm.com \
--cc=bharata@linux.vnet.ibm.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=nfont@linux.vnet.ibm.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 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).