9
user001
197d

When your compiler is too smart and inlines and unrolls the function call with its own implementation on a preemptable kernel code a simple memcpy call can be used to destroy the system :D

Comments
  • 1
    Why does in lining do to break it?
  • 0
    Here is an extensive thread about it: https://level1techs.com/video/...

    Also on video at 11:20 he basically explains why did it break for me
  • 0
    Looks like this is a Linux issue because application deployment under Linux has always been a broken piece of shit.
  • 1
    @Fast-Nop not exactly, basically what's happening is that GCC is "overoptimizing" the code by using its own inlined simd version of memcpy instead the kernel one and kernel doesn't really like it
Your Job Suck?
Get a Better Job
Add Comment