lkml.org 
[lkml]   [2014]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] SCHED: remove proliferation of wait_on_bit action functions.
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 ;-)


\
 
 \ /
  Last update: 2014-05-01 10:01    [W:2.679 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site