[dm-devel] [PATCH] SCHED: remove proliferation of wait_on_bit action functions.
Peter Zijlstra
peterz at infradead.org
Thu May 1 07:42:57 UTC 2014
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 ;-)
More information about the dm-devel
mailing list