login
Header Space

 
 

Re: annotating semaphores.

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dave Jones <davej@...>
Cc: <linux-sparse@...>
Date: Thursday, December 13, 2007 - 6:00 pm

On Dec 12, 2007 12:00 PM, Dave Jones <davej@redhat.com> wrote:

Can you share the example buggy cpufreq code that miss the up_write() calls?


That is not needed. Because the __down_read is not an inline function. The
extern void FASTCALL(__down_read(struct rw_semaphore *sem)) __acquires(sem);
declare should be good enough.

Chris
-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" 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:
Better Success, willy-willy, Hallie Eaton, (Tue Jan 1, 4:41 am)
[PATCH] Sparse: fix the setting of __SIZE_TYPE__ in lib.c, Mika Kukkonen, (Sat Dec 17, 4:40 pm)
[PATCH] OpenBSD support, Blue Swirl, (Sun Nov 2, 4:33 am)
case label types, Morten Welinder, (Wed Mar 15, 9:07 pm)
[PATCH] sparse: gcc 4.1 warnings, Jeff Garzik, (Sat Apr 8, 12:14 am)
How do I get the latest sparse?, Mitesh Shah, (Mon Jan 15, 7:48 pm)
annotating semaphores., Dave Jones, (Wed Dec 12, 4:00 pm)
Re: [PATCH] OpenBSD support, Christopher Li, (Tue Nov 4, 4:08 pm)
Re: annotating semaphores., Christopher Li, (Thu Dec 13, 6:00 pm)
Re: annotating semaphores., Dave Jones, (Thu Dec 13, 6:05 pm)
Re: How do I get the latest sparse?, Randy Dunlap, (Mon Jan 15, 8:59 pm)
RE: How do I get the latest sparse?, Mitesh Shah, (Mon Jan 15, 9:07 pm)
Re: How do I get the latest sparse?, Randy Dunlap, (Mon Jan 15, 10:15 pm)
Re: How do I get the latest sparse?, Dave Jones, (Mon Jan 15, 11:16 pm)
Re: How do I get the latest sparse?, Josh Triplett, (Tue Jan 16, 8:14 am)
RE: How do I get the latest sparse?, Mitesh Shah, (Tue Jan 16, 11:40 am)
Re: How do I get the latest sparse?, Dave Jones, (Tue Jan 16, 8:23 pm)
Re: How do I get the latest sparse?, Christopher Li, (Mon Jan 15, 8:17 pm)
Re: How do I get the latest sparse?, Josh Triplett, (Tue Jan 16, 8:23 am)
Re: How do I get the latest sparse?, Christopher Li, (Tue Jan 16, 9:49 pm)
Re: How do I get the latest sparse?, Josh Triplett, (Wed Jan 17, 1:41 am)
Re: How do I get the latest sparse?, Sam Ravnborg, (Wed Jan 17, 3:05 pm)
Re: How do I get the latest sparse?, Christopher Li, (Wed Jan 17, 4:03 pm)
Re: How do I get the latest sparse?, Christopher Li, (Wed Jan 17, 2:31 am)
Re: [PATCH] sparse: gcc 4.1 warnings, Morten Welinder, (Mon Apr 10, 9:21 am)
Re: [PATCH] sparse: gcc 4.1 warnings, Jeff Garzik, (Mon Apr 10, 8:30 pm)
Re: [PATCH] sparse: gcc 4.1 warnings, Jörn, (Tue Apr 11, 4:56 am)
Re: [PATCH] sparse: gcc 4.1 warnings, Chris Wedgwood, (Tue Apr 11, 5:10 am)
Re: [PATCH] sparse: gcc 4.1 warnings, Jörn, (Tue Apr 11, 5:19 am)
Re: case label types, Linus Torvalds, (Wed Mar 15, 9:29 pm)
speck-geostationary