News for hackers. Stuff that matters.
Re:A 100LOC C impl of memset, that is faster than glibc's by gpderetta on Friday November 12, 2021 @08:46AM (#29199180)
He strongly believes that something like rep stos/rep mov is the right interface for memset/memcpy and off-core accelerators (like DMA) are misguided.
Re:A 100LOC C impl of memset, that is faster than glibc's by Something1234 on Friday November 12, 2021 @03:10PM (#29203982)
His reasoning or rant for this?
Re:A 100LOC C impl of memset, that is faster than glibc's by monocasa on Friday November 12, 2021 @03:34PM (#29204210)
I'm not sure about Linus's objections, but I've found that DMA accelerators for time sharing systems with general workloads haven't reaped benefits, as the overhead of multiplexing and synchronizing with them kills most of their benefits. At that point it's easier to blit memory yourself.