Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1353371
| From | Linus Torvalds <torvalds@linux-foundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2-UPDATE2 3/4] resource: Add device-managed insert/remove_resource() |
| Date | 2016-03-08 21:10 +0100 |
| Message-ID | <raw78-5OE-13@gated-at.bofh.it> (permalink) |
| References | <ratsB-3P7-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Mar 8, 2016 at 10:08 AM, Toshi Kani <toshi.kani@hpe.com> wrote:
>
> Add device-managed implementaions of insert_resource() and
> remove_resouce() functions.
Can we get an example of the users and show how much this would actually help?
insert_resource() is fairly unusual to begin with, and it should
basically *never* be used by a driver at all (it's more of a bus
thing).
The patch doesn't look _wrong_, but it does look potentially largely
pointless. Adding new interfaces to do things that aren't common
enough to worry about is counter-productive, imho.
Linus
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2-UPDATE2 3/4] resource: Add device-managed insert/remove_resource() Toshi Kani <toshi.kani@hpe.com> - 2016-03-08 18:20 +0100
Re: [PATCH v2-UPDATE2 3/4] resource: Add device-managed insert/remove_resource() Ingo Molnar <mingo@kernel.org> - 2016-03-08 18:40 +0100
Re: [PATCH v2-UPDATE2 3/4] resource: Add device-managed insert/remove_resource() Linus Torvalds <torvalds@linux-foundation.org> - 2016-03-08 21:10 +0100
Re: [PATCH v2-UPDATE2 3/4] resource: Add device-managed insert/remove_resource() Dan Williams <dan.j.williams@intel.com> - 2016-03-08 22:10 +0100
Re: [PATCH v2-UPDATE2 3/4] resource: Add device-managed insert/remove_resource() Linus Torvalds <torvalds@linux-foundation.org> - 2016-03-08 23:30 +0100
Re: [PATCH v2-UPDATE2 3/4] resource: Add device-managed insert/remove_resource() Dan Williams <dan.j.williams@intel.com> - 2016-03-08 23:50 +0100
Re: [PATCH v2-UPDATE2 3/4] resource: Add device-managed insert/remove_resource() Toshi Kani <toshi.kani@hpe.com> - 2016-03-09 00:20 +0100
Re: [PATCH v2-UPDATE2 3/4] resource: Add device-managed insert/remove_resource() Linus Torvalds <torvalds@linux-foundation.org> - 2016-03-09 00:40 +0100
Re: [PATCH v2-UPDATE2 3/4] resource: Add device-managed insert/remove_resource() Toshi Kani <toshi.kani@hpe.com> - 2016-03-09 01:10 +0100
csiph-web