summaryrefslogtreecommitdiff
path: root/include/linux/six.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/six.h')
-rw-r--r--include/linux/six.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/six.h b/include/linux/six.h
index f336ae04..362a577b 100644
--- a/include/linux/six.h
+++ b/include/linux/six.h
@@ -107,6 +107,7 @@ struct six_lock {
struct task_struct *owner;
unsigned __percpu *readers;
unsigned intent_lock_recurse;
+ unsigned long ip;
raw_spinlock_t wait_lock;
struct list_head wait_list;
#ifdef CONFIG_DEBUG_LOCK_ALLOC
@@ -119,6 +120,7 @@ struct six_lock_waiter {
struct task_struct *task;
enum six_lock_type lock_want;
bool lock_acquired;
+ u64 start_time;
};
typedef int (*six_lock_should_sleep_fn)(struct six_lock *lock, void *);