From: "gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>
To: EunTaik Lee <eun.taik.lee@samsung.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Re: Re: [PATCH] fix race condition between device_del and device_add
Date: Mon, 30 Mar 2015 16:24:14 +0200 [thread overview]
Message-ID: <20150330142414.GB10446@kroah.com> (raw)
In-Reply-To: <1542775927.100611427724147567.JavaMail.weblogic@epmlwas08c>
On Mon, Mar 30, 2015 at 02:02:27PM +0000, EunTaik Lee wrote:
>
> The problem was on 3.10.49.
>
> I carefully looked up the patches again and found out that there was
> a patch on 3.18 that will solve the problem
>
> commit e4a60d139060975eb956717e4f63ae348d4d8cc5
> sysfs: driver core: Fix glue dir race condition by gdp_mutex
Yes, you need a "real" lock to fix this type of race condition, I
thought we had fixed this a while ago, thanks for verifying it.
greg k-h
prev parent reply other threads:[~2015-03-30 14:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-30 14:02 EunTaik Lee
2015-03-30 14:24 ` gregkh [this message]
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=20150330142414.GB10446@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=eun.taik.lee@samsung.com \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome