From: Greg KH <gregkh@linuxfoundation•org>
To: Xiaoming Ni <nixiaoming@huawei•com>
Cc: adobriyan@gmail•com, akpm@linux-foundation•org,
anna.schumaker@netapp•com, arjan@linux•intel.com,
bfields@fieldses•org, chuck.lever@oracle•com,
davem@davemloft•net, jlayton@kernel•org, luto@kernel•org,
mingo@kernel•org, Nadia.Derbey@bull•net,
paulmck@linux•vnet.ibm.com, semen.protsenko@linaro•org,
stable@kernel•org, stern@rowland•harvard.edu, tglx@linutronix•de,
torvalds@linux-foundation•org, trond.myklebust@hammerspace•com,
viresh.kumar@linaro•org, vvs@virtuozzo•com,
alex.huangjianhui@huawei•com, dylix.dailei@huawei•com,
linux-kernel@vger•kernel.org, linux-nfs@vger•kernel.org,
netdev@vger•kernel.org
Subject: Re: [PATCH v3 0/3] kernel/notifier.c: avoid duplicate registration
Date: Wed, 10 Jul 2019 07:56:28 +0200 [thread overview]
Message-ID: <20190710055628.GB5778@kroah.com> (raw)
In-Reply-To: <1562728147-30251-1-git-send-email-nixiaoming@huawei.com>
On Wed, Jul 10, 2019 at 11:09:07AM +0800, Xiaoming Ni wrote:
> Registering the same notifier to a hook repeatedly can cause the hook
> list to form a ring or lose other members of the list.
Then don't do that :)
Is there any in-kernel users that do do this? If so, please just fix
them.
thanks,
greg k-h
next prev parent reply other threads:[~2019-07-10 5:56 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-10 3:09 [PATCH v3 0/3] kernel/notifier.c: avoid duplicate registration Xiaoming Ni
2019-07-10 5:49 ` Vasily Averin
2019-07-11 1:55 ` Nixiaoming
2019-07-11 13:57 ` Vasily Averin
2019-07-12 13:11 ` Xiaoming Ni
2019-07-12 14:07 ` gregkh
2019-07-14 2:45 ` Xiaoming Ni
2019-07-15 5:38 ` Vasily Averin
2019-07-16 2:00 ` Xiaoming Ni
2019-07-16 10:20 ` Vasily Averin
2019-07-16 14:07 ` Xiaoming Ni
2019-07-17 11:15 ` Vasily Averin
2019-09-10 3:57 ` Xiaoming Ni
2019-07-10 5:56 ` Greg KH [this message]
2019-07-11 1:32 ` Nixiaoming
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=20190710055628.GB5778@kroah.com \
--to=gregkh@linuxfoundation$(echo .)org \
--cc=Nadia.Derbey@bull$(echo .)net \
--cc=adobriyan@gmail$(echo .)com \
--cc=akpm@linux-foundation$(echo .)org \
--cc=alex.huangjianhui@huawei$(echo .)com \
--cc=anna.schumaker@netapp$(echo .)com \
--cc=arjan@linux$(echo .)intel.com \
--cc=bfields@fieldses$(echo .)org \
--cc=chuck.lever@oracle$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=dylix.dailei@huawei$(echo .)com \
--cc=jlayton@kernel$(echo .)org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-nfs@vger$(echo .)kernel.org \
--cc=luto@kernel$(echo .)org \
--cc=mingo@kernel$(echo .)org \
--cc=netdev@vger$(echo .)kernel.org \
--cc=nixiaoming@huawei$(echo .)com \
--cc=paulmck@linux$(echo .)vnet.ibm.com \
--cc=semen.protsenko@linaro$(echo .)org \
--cc=stable@kernel$(echo .)org \
--cc=stern@rowland$(echo .)harvard.edu \
--cc=tglx@linutronix$(echo .)de \
--cc=torvalds@linux-foundation$(echo .)org \
--cc=trond.myklebust@hammerspace$(echo .)com \
--cc=viresh.kumar@linaro$(echo .)org \
--cc=vvs@virtuozzo$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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