From: Wolfram Sang <wsa@the-dreams.de>
To: Peter Rosin <peda@axentia.se>
Cc: David Thomson <david.thomson@alliedtelesis.co.nz>,
linux-i2c@vger.kernel.org
Subject: Re: [PATCH] i2c: core: Prevent race condition when removing i2c devices
Date: Mon, 31 Jul 2017 16:11:17 +0200 [thread overview]
Message-ID: <20170731141117.3fhlmene2zow6bbh@ninjato> (raw)
In-Reply-To: <111b974f-8db7-8dd2-18fb-582af47a341b@axentia.se>
[-- Attachment #1: Type: text/plain, Size: 496 bytes --]
> to do so and worry about rcu grace periods etc. Has any driver model
> expert looked at this struct device reuse and blessed it as ok?
I am quite sure this did not happen. That's what I mean with "despite
the docs": One shouldn't reuse struct device, some people did it and got
this "fix" in place, and now people might rely on the "fix". As a
result, we can't simply remove it by saying "Ah, that's cruft. It can
just go." We'd need some deeper look into random drivers, like you
sketched.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2017-07-31 14:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-08 2:43 [PATCH] i2c: core: Prevent race condition when removing i2c devices David Thomson
2017-06-19 14:36 ` Wolfram Sang
2017-06-19 16:34 ` Peter Rosin
2017-06-19 19:30 ` Peter Rosin
2017-06-28 22:20 ` David Thomson
2017-08-18 8:04 ` Peter Rosin
2017-07-31 13:38 ` Wolfram Sang
2017-07-31 14:02 ` Peter Rosin
2017-07-31 14:11 ` Wolfram Sang [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=20170731141117.3fhlmene2zow6bbh@ninjato \
--to=wsa@the-dreams.de \
--cc=david.thomson@alliedtelesis.co.nz \
--cc=linux-i2c@vger.kernel.org \
--cc=peda@axentia.se \
/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