Thread (13 messages) 13 messages, 4 authors, 2014-07-02

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

From: Peter Zijlstra <peterz@infradead.org>
Date: 2014-05-01 07:42:57
Also in: dm-devel, linux-fsdevel, linux-nfs, lkml

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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help