login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
27
Re: [RFC] QoS params patch
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Mark Gross <mgross@...>
To: Randy Dunlap <randy.dunlap@...>
Cc: Paul Mundt <lethal@...>, linux-pm <linux-pm@...>, lkml <linux-kernel@...>
Subject:
Re: [RFC] QoS params patch
Date: Thursday, September 27, 2007 - 11:37 am
On Wed, Sep 26, 2007 at 09:05:15PM -0700, Randy Dunlap wrote:
quoted text
> On Thu, 27 Sep 2007 11:24:40 +0900 Paul Mundt wrote: > > > > +/* static helper functions */ > > > +static s32 max_compare(s32 v1, s32 v2) > > > +{ > > > + if (v1 < v2) > > > + return v2; > > > + else > > > + return v1; > > > +} > > > + > > > +static s32 min_compare(s32 v1, s32 v2) > > > +{ > > > + if (v1 < v2) > > > + return v1; > > > + else > > > + return v2; > > > +} > > > + > > min()/max() instead? > > Other code wants function pointers to the min & max functions. > That's why they are here AFAICT. > > > > > +/* assumes qos_lock is held */ > > > +static void update_target(int i) > > > +{ > > 'target' might be a more meaningful variable name. > > Anything but 'i'.
The 'i' is gone. Will post new patch later today. --mgross -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[RFC] QoS power Management enabling patch set
, Mark Gross
, (Wed Sep 26, 6:37 pm)
Re: [RFC] QoS power example / hack
, Mark Gross
, (Wed Sep 26, 6:45 pm)
Re: [RFC] QoS power Management enabling patch set
, Mark Gross
, (Wed Sep 26, 6:42 pm)
Re: [RFC] QoS params patch
, Mark Gross
, (Wed Sep 26, 6:40 pm)
Re: [RFC] QoS params patch
, Andrew Morton
, (Fri Sep 28, 2:25 am)
Re: [RFC] QoS params patch
, Mark Gross
, (Fri Sep 28, 1:19 pm)
Re: [RFC] QoS params patch
, Andrew Morton
, (Fri Sep 28, 2:51 pm)
Re: [RFC] QoS params patch
, Mark Gross
, (Mon Oct 1, 12:11 pm)
Re: [RFC] QoS params patch
, Paul Mundt
, (Fri Sep 28, 2:41 am)
Re: [RFC] QoS params patch
, Mark Gross
, (Fri Sep 28, 1:22 pm)
Re: [RFC] QoS params patch
, Paul Mundt
, (Wed Sep 26, 10:24 pm)
Re: [RFC] QoS params patch
, Mark Gross
, (Thu Sep 27, 12:21 pm)
Re: [RFC] QoS params patch
, Randy Dunlap
, (Thu Sep 27, 12:05 am)
Re: [RFC] QoS params patch update.
, Mark Gross
, (Thu Sep 27, 4:17 pm)
Re: [RFC] QoS params patch update.
, Paul Mundt
, (Thu Sep 27, 8:08 pm)
Re: [RFC] QoS params patch
, Mark Gross
, (Thu Sep 27, 11:37 am)
Re: [RFC] QoS params patch
, Randy Dunlap
, (Wed Sep 26, 7:41 pm)
Re: [RFC] QoS params patch
, Mark Gross
, (Wed Sep 26, 8:40 pm)
Re: [RFC] QoS params patch
, roel
, (Thu Sep 27, 9:00 am)
Re: [RFC] QoS params patch
,
, (Wed Sep 26, 10:53 pm)
Re: [RFC] QoS params patch
, Mark Gross
, (Thu Sep 27, 11:36 am)
Re: [RFC] QoS params patch
, Paul Mundt
, (Wed Sep 26, 11:18 pm)
Re: [RFC] QoS params patch
, Mark Gross
, (Thu Sep 27, 11:17 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
H. Peter Anvin
Re: [RFC 00/15] x86_64: Optimize percpu accesses
Linus Torvalds
Linux 2.6.27-rc5
Ingo Molnar
[announce] "kill the Big Kernel Lock (BKL)" tree
Greg KH
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Ben Hutchings
Re: [GIT]: Networking
Jarek Poplawski
[PATCH iproute2] Re: HTB accuracy for high speed
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
5 users
and
648 guests
online.
Online users
christianbr1
sallyirons99
mrsleepyhead
registryfix
disenococinas
Syndicate