Re: [PATCH 2.6.26-rc3 : schedule] remove unlikely macros in workqueue.c/queue_delayed_work_on

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <youquan_song@...>
Cc: <linux-kernel@...>, <venkatesh.pallipadi@...>
Date: Thursday, May 29, 2008 - 4:29 pm

On Thu, 29 May 2008 00:02:50 -0700 (PDT)
youquan_song@linux.intel.com wrote:


This is very much dependent on what workload the machine is running.

There are 189 queue_delayed_work() callsites and they all want the
unlikely() to be there.

There are six queue_delayed_work_on() callsites and they don't want the
unlikely().

Don't know what to do here.  Fortunately it doesn't matter much ;)

-mm has profile-likely-unlikely-macros.patch which can be used to
instrument these things (that feature seems to get broken regularly
though).

But the instrumentation should be performed across a broad range of
workloads.


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2.6.26-rc3 : schedule] remove unlikely macros in ..., Andrew Morton, (Thu May 29, 4:29 pm)