Messages in this thread | | | Date | Wed, 11 Dec 2013 21:09:03 -0500 | From | Steven Rostedt <> | Subject | Re: [PATCH 1/3] wait-simple: Introduce the simple waitqueue implementation |
| |
> --- /dev/null > +++ b/kernel/swait.c > @@ -0,0 +1,118 @@ > +/* > + * Simple waitqueues without fancy flags and callbacks
We should probably have a more detailed description of when to use simple wait queues verses normal wait queues. These are obviously much lighter wait, and should be the preferred method unless you need a feature of the more heavy weight wait queues.
-- Steve
"weight wait" Ha! Don't get to use that very often ;-)
> + * > + * (C) 2011 Thomas Gleixner <tglx@linutronix.de> > + * > + * Based on kernel/wait.c > + * > + * For licencing details see kernel-base/COPYING > + */ > +#include <linux/init.h> > +#include <linux/export.h> > +#include <linux/sched.h> > +#include <linux/swait.h>
| |