login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
17
Re: [RT] seqlocks: use of PICK_FUNCTION breaks kernel compile when CONFIG_GENERIC_TIME is NOT set
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Steven Rostedt <rostedt@...>
To: Daniel Walker <dwalker@...>
Cc: Remy Bohmer <linux@...>, Ingo Molnar <mingo@...>, LKML <linux-kernel@...>, RT <linux-rt-users@...>, Thomas Gleixner <tglx@...>
Subject:
Re: [RT] seqlocks: use of PICK_FUNCTION breaks kernel compile when CONFIG_GENERIC_TIME is NOT set
Date: Wednesday, October 17, 2007 - 11:34 am
-- On Wed, 17 Oct 2007, Daniel Walker wrote:
quoted text
> On Wed, 2007-10-17 at 11:10 -0400, Steven Rostedt wrote: > > > > > > > > > #define read_seqbegin_irqsave(lock, flags) \ > > > > -do { \ > > > > +({ \ > > > > flags = PICK_SEQ_OP_RET(__read_seqbegin_irqsave_raw, \ > > > > __read_seqbegin_irqsave, lock); \ > > > > -} while (0) > > > > + read_seqbegin(lock); \ > > > > +}) > > > > Yes, definitely the raw and unraw functions should be called > > local_irqsave_raw or something else that makes this obvious to what it > > is doing. > > Hmm.. I'm not sure what else to name them .. Since it's in the seqlock.h > I don't think it should be called anything "local_irq*" .. It could be > seq_irqsave_{raw} .
Hmm, what about a __seq_irqsave_raw and __seq_nop? That way it spells out that irqs are NOT touched if it is not a raw lock. -- Steve -
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:
Re: [RT] seqlocks: use of PICK_FUNCTION breaks kernel compil...
, Steven Rostedt
, (Wed Oct 17, 11:10 am)
Re: [RT] seqlocks: use of PICK_FUNCTION breaks kernel compil...
, Daniel Walker
, (Wed Oct 17, 11:24 am)
Re: [RT] seqlocks: use of PICK_FUNCTION breaks kernel compil...
, Steven Rostedt
, (Wed Oct 17, 11:34 am)
Re: [RT] seqlocks: use of PICK_FUNCTION breaks kernel compil...
, Daniel Walker
, (Mon Oct 22, 2:53 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jan Engelhardt
intel iommu (Re: -mm merge plans for 2.6.23)
Justin C. Sherrill
Re: dragonflybsd.org website link?
Greg Kroah-Hartman
[PATCH 002/196] Chinese: rephrase English introduction in HOWTO
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Patrick McHardy
[NET_SCHED 01/15]: sch_atm: fix format string warning
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
835 guests
online.
Syndicate