Quantcast
Viewing all articles
Browse latest Browse all 864

Re: [PATCH] lib/strscpy: remove word-at-a-time optimization.

Linus Torvalds writes: (Summary) A big part of this all is branch mispredicts, you shouldn't just hand it the pattern on a plate.
just hand it the pattern on a plate.
Anyway, the reason I really dislike the patch is not because I think strscpy() is all that important, but I *do* think that the word-at-a-time thing is conceptually something we do care about, and I hate removing it just because of KASAN not understanding it. Because that approach definitely makes a difference in other places.
other places.
Linus
Linus
Linus

Viewing all articles
Browse latest Browse all 864

Trending Articles