Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24325
b: refs/heads/master
c: 76b81e2
h: refs/heads/master
i:
  24323: e272133
v: v3
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Mar 27, 2006
1 parent 1f0198b commit c3c9083
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8f17d3a5049d32392b79925c73a0cf99ce6d5af0
refs/heads/master: 76b81e2b0e2241accebcc68e126bc5ab958661b9
14 changes: 4 additions & 10 deletions trunk/include/linux/futex.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,22 +79,16 @@ 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,
Expand Down

0 comments on commit c3c9083

Please sign in to comment.