]> err.no Git - linux-2.6/blobdiff - include/linux/futex.h
[PATCH] md/bitmap: remove bitmap writeback daemon
[linux-2.6] / include / linux / futex.h
index 20face6b798d9c9087c131d3237ad61688397f23..966a5b3da439b40232c269f44026733db5a76244 100644 (file)
@@ -79,28 +79,22 @@ struct robust_list_head {
  */
 #define FUTEX_OWNER_DIED       0x40000000
 
-/*
- * Reserved bit:
- */
-#define FUTEX_OWNER_PENDING    0x20000000
-
 /*
  * The rest of the robust-futex field is for the TID:
  */
-#define FUTEX_TID_MASK         0x1fffffff
+#define FUTEX_TID_MASK         0x3fffffff
 
 /*
- * A limit of one million locks held per thread (!) ought to be enough
- * for some time. This also protects against a deliberately circular
- * list. Not worth introducing an rlimit for this:
+ * This limit protects against a deliberately circular list.
+ * (Not worth introducing an rlimit for it)
  */
-#define ROBUST_LIST_LIMIT      1048576
+#define ROBUST_LIST_LIMIT      2048
 
 long do_futex(unsigned long uaddr, int op, int val,
                unsigned long timeout, unsigned long uaddr2, int val2,
                int val3);
 
-extern int handle_futex_death(unsigned int *uaddr, struct task_struct *curr);
+extern int handle_futex_death(u32 __user *uaddr, struct task_struct *curr);
 
 #ifdef CONFIG_FUTEX
 extern void exit_robust_list(struct task_struct *curr);