Quantcast
Channel: lkml.org : Vaidyanathan Srinivasan
Viewing all articles
Browse latest Browse all 890

Re: for_each_cpu() is buggy for UP kernel?

$
0
0
Linus Torvalds writes: (Summary) An empty mask simply generally doesn't make sense, since opn UP you also don't have any masking of CPU ops, so the mask is ignored, and that helps the code generation immensely. But the counter-argument to that is that if people are using UP in this day and age, they probably are using some really crappy hardware that needs all the help it can get.
help it can get.
At least for now, I'd rather have this inconsistency, because it really makes a surprisingly *big* difference in code generation.

Viewing all articles
Browse latest Browse all 890

Trending Articles