Welcome! Log In Create A New Profile

Advanced

What is the point of this function?

Posted by andy77 
Hello, i was looking at the linux/sched.h (kernel version 4.6.2) source code and i found this function at line 1174:

static inline bool cpus_share_cache(int this_cpu, int that_cpu)
{
	return true;
}

I'm not able to understand the utility of a function that just return a true value.
i've noticed that there are a lot of functions like this (function that just return a constant).

so...why?
thanks.
Re: What is the point of this function?
January 28, 2017 07:13AM
This is one of the function used to share your cache. We know cache is very important for website promotion. Through the setting of google leverage caching we can improve the performance of our website. But for maintaining a good health you should work hard. You can get the effective ayurvedic treatments in Kerala to buildup your strength.

ayurveda hospital in Kerala | ayurveda retreat |
ayurveda resort
This is very nice and amazing <a href="[www.behance.net] April 2017</a>
Author:

Your Email:


Subject:


Spam prevention:
Please, solve the mathematical question and enter the answer in the input field below. This is for blocking bots that try to post this form automatically.
Question: how much is 4 plus 19?
Message: