Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Ingo Molnar <mingo <at> elte.hu>
Subject: Re: [PATCH 00/10] jump label: introduce very_[un]likely + cleanups + docs
Newsgroups: gmane.linux.kernel
Date: Friday 24th February 2012 08:04:23 UTC (over 4 years ago)
* Linus Torvalds  wrote:

> Seriously, I don't understand why you don't just use the 
> obvious name. The data structure is named "static_key". The 
> things that change it are named "static_key_inc()" or 
> something. So a name like "static_key_true()" is simply 
> *better*, isn't it?

Yes, you are right, in hindsight it's indeed obviously and 
trivially better :-/

> It's not just about less confusion, it's actually about just 
> having consistent naming.

Okay. I sent out the slightly reworked patch that gets rid of 
this confusion and makes it all consistent.

Thanks,

	Ingo
 
CD: 3ms