Re: [PATCH] SCHED: remove proliferation of wait_on_bit action functions.

From: Peter Zijlstra
Date: Thu May 01 2014 - 03:43:10 EST


On Thu, May 01, 2014 at 12:37:38PM +1000, NeilBrown wrote:
> +static inline int
> +wait_on_bit(void *word, int bit, unsigned mode)
> +{
> + if (!test_bit(bit, word))
> + return 0;
> + return out_of_line_wait_on_bit(word, bit,
> + bit_wait,
> + mode & 65535);
> +}

Still puzzled by the 16 bit mask there ;-)
--
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/