Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: for_each_cpu() is buggy for UP kernel?

$
0
0
Linus Torvalds writes: (Summary) It's hacky, but maybe being explicitly hacky is good to "document" this gotcha.
good to "document" this gotcha.
And I really do agree that this special UP case is nasty nasty and much too subtle, and I hope that some day we won't care about UP at all, and maybe kill it, or maybe just make for_each_cpu() generate the extra code to have the actual same semantics as the SMP case.
the actual same semantics as the SMP case.
Linus
Linus
Linus

Viewing all articles
Browse latest Browse all 1267

Trending Articles