login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-netdev
»
2008
»
November
»
12
Re: [PATCH v2] usbnet: enable more aggressive autosuspend
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Jeff Garzik
Subject:
Re: [PATCH v2] usbnet: enable more aggressive autosuspend
Date: Wednesday, November 12, 2008 - 2:36 am
Per Hallsmark wrote:
quoted text
> David Miller wrote: >> From: Oliver Neukum <oliver@neukum.org> >> Date: Fri, 7 Nov 2008 13:24:17 +0100 >> >> >>> Am Freitag, 7. November 2008 13:00:05 schrieb Jeff Garzik: >>> >>>> Oliver Neukum wrote: >>>> >>>>> Am Freitag, 7. November 2008 09:26:33 schrieb Jeff Garzik: >>>>> >>>>>> I pondered taking the easy route of fixing this by surrounding the >>>>>> auto_pm reference with an ifdef, but it seems like usbnet could >>>>>> use a bit more thought -- it is questionable whether >>>>>> usbnet_suspend/resume should be built at all, if !CONFIG_PM, even >>>>>> though they are exported. >>>>>> >>>>> As this is a generic problem, shouldn't we get the compiler to do >>>>> this for us? >>>>> >>>> Can you be more specific? >>>> >>> As these methods are static the compiler is able to tell whether they >>> are referenced by anything but the tables. We should be able to set >>> an attribute in the header file that tells the compiler that these >>> methods >>> won't be called and can be omitted in the build. Otherwise we have to >>> ifdef >>> all those methods. >>> >> >> The problem is that the content of these functions still needs to be >> parsed, so references to ifdef'd out structure members are still going >> to throw errors. >> >> For the time being please add the necessary CONFIG_PM wrappers around >> the suspend and resume methods, as this is what we do tree wide and >> I don't think you want these usbnet changes blocked by some fancy >> compiler facility that hasn't been implemented yet. >> > Ok, this news I've missed. Should I regenerate the patch or is it > handled anyway?
regenerate, please -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH v2] usbnet: enable more aggressive autosuspend
, Per Hallsmark
, (Thu Oct 23, 6:49 am)
Re: [PATCH v2] usbnet: enable more aggressive autosuspend
, Alan Stern
, (Thu Oct 23, 11:57 am)
Re: [PATCH v2] usbnet: enable more aggressive autosuspend
, Per Hallsmark
, (Fri Oct 24, 2:21 am)
Re: [PATCH v2] usbnet: enable more aggressive autosuspend
, Alan Stern
, (Fri Oct 24, 7:12 am)
Re: [PATCH v2] usbnet: enable more aggressive autosuspend
, Jeff Garzik
, (Fri Nov 7, 1:26 am)
Re: [PATCH v2] usbnet: enable more aggressive autosuspend
, Oliver Neukum
, (Fri Nov 7, 4:44 am)
Re: [PATCH v2] usbnet: enable more aggressive autosuspend
, Jeff Garzik
, (Fri Nov 7, 5:00 am)
Re: [PATCH v2] usbnet: enable more aggressive autosuspend
, Oliver Neukum
, (Fri Nov 7, 5:24 am)
Re: [PATCH v2] usbnet: enable more aggressive autosuspend
, David Miller
, (Fri Nov 7, 1:22 pm)
Re: [PATCH v2] usbnet: enable more aggressive autosuspend
, Per Hallsmark
, (Wed Nov 12, 2:01 am)
Re: [PATCH v2] usbnet: enable more aggressive autosuspend
, Jeff Garzik
, (Wed Nov 12, 2:36 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 01/75] platform: prefix MODALIAS with "platform:"
stephane eranian
Re: perf_counters issue with PERF_SAMPLE_GROUP
Mathieu Desnoyers
Re: Linux 2.6.25-rc2
Eric Sandeen
Re: [PATCH] xfs: do not pass unused params to xfs_flush_pages
Daniel Hazelton
Re: x86: 4kstacks default
git
:
Johannes Schindelin
[PATCH] fetch: refuse to fetch into the current branch in a non-bare repository
Junio C Hamano
Re: [PATCH] http-push: making HTTP push more robust and more user-friendly
Oliver Kullmann
Re: how to move with history?
Alex Riesen
Re: git exclude patterns for directory
Andreas Ericsson
Re: why not TortoiseGit
linux-netdev
:
Andi Kleen
Re: RFC: Nagle latency tuning
Herbert Xu
Re: Oops in tun: bisected to Limit amount of queued packets per device
gregkh
Patch "IPv6: keep route for tentative address" has been added to the 2.6.34-stable...
Patrick McHardy
Re: [rfc 02/13] [RFC 02/13] netfilter: nf_conntrack_sip: Add callid parser
Krzysztof Oledzki
Re: Error: an inet prefix is expected rather than "0/0".
git-commits-head
:
Linux Kernel Mailing List
sh: Fix compile error by operands(mov.l) in sh3/entry.S
Linux Kernel Mailing List
New device ID for sc92031 [1088:2031]
Linux Kernel Mailing List
tmpfs: depend on shmem
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
Staging: et131x: prune all the debug code
openbsd-misc
:
Andres Salazar
About priorities in /etc/resolv.conf
Tonnerre LOMBARD
Re: bge0: watchdog timeout
ropers
Re: Real men don't attack straw men
Damien Miller
Re: Patching a SSH 'Weakness'
Tony Abernethy
Re: The Atheros story in much fewer words
Colocation donated by:
Syndicate