Re: [PATCH 1/3] futex: avoid double wake up in PI futex wait / wake on -RT

From: Thomas Gleixner
Date: Tue Apr 07 2015 - 14:41:08 EST


On Tue, 7 Apr 2015, Sebastian Andrzej Siewior wrote:
> /*
> * Wake up the next waiter on the lock.
> *
> - * Remove the top waiter from the current tasks pi waiter list and
> - * wake it up.
> + * Remove the top waiter from the current tasks pi waiter list take a
> + * reference and return a pointer to it.

That comment is stale from an earlier version of that patch. That
should be:

+ * Remove the top waiter from the current tasks pi waiter list,
+ * wake it up and return whether the current task needs to undo
+ * a potential priority boosting.

Thanks,

tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/