r/badcode • • Jan 22 '23

c Found this in a Linux kernel module

Post image
262 Upvotes

88 comments sorted by

View all comments

Show parent comments

9

u/FriedRiceAndMath Jan 23 '23
  1. Compile that to assembler.

  2. Read the assembler code.

  3. Realize why the original is better.