Quotes of the week
[Posted March 4, 2009 by corbet]
HAHAHAHHAAAA!!!! My evil scheme is working! I post some sub-optimal
code, and have others do the nasty work for me!!!!
Oh, did I just say that out loud?
--
Steven Rostedt
Not only that, I will also sue you for my patent on that algorithm.
--
Linus Torvalds
+ /*
+ * The pifutex has an owner, make sure it's us, if not complain
+ * to userspace.
+ * FIXME_LATER: handle this gracefully
+ */
+ pid = curval & FUTEX_TID_MASK;
+ if (pid && pid != task_pid_vnr(current))
+ return -EMORON;
--
Darren "graceful" Hart (thanks to Bert
Wesarg)
Yup, there's lots of crappy code in the tree, and it is regrettable
that maintainers continue to go ahead and merge that crappy code.
There's no easy fix for this - you need to be aware of what is right
and what is wrong, but you cannot look at existing code to determine
this.
--
Andrew Morton
(
Log in to post comments)