From: "Bill Huey (hui)" <bill.huey@gmail.com>
To: "Gregory Haskins" <ghaskins@novell.com>, mingo@elte.hu
Cc: a.p.zijlstra@chello.nl, tglx@linutronix.de, rostedt@goodmis.org,
linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org,
kevin@hilman.org, cminyard@mvista.com, dsingleton@mvista.com,
dwalker@mvista.com, npiggin@suse.de, dsaxena@plexity.net,
ak@suse.de, pavel@ucw.cz, acme@redhat.com, gregkh@suse.de,
sdietrich@novell.com, pmorreale@novell.com, mkohari@novell.com
Subject: Re: [PATCH RT 2/6] lockstat measurement extensions
Date: Thu, 13 Mar 2008 17:09:15 -0700 [thread overview]
Message-ID: <9810cff90803131709m3a5b1e5ep2bfe566b3c3bdb66@mail.gmail.com> (raw)
In-Reply-To: <9810cff90803131707v4fb3197fv396b8a5e8ae32b4d@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 40 bytes --]
Function prototype redefinitions.
bill
[-- Attachment #2: patch1.diff --]
[-- Type: application/octet-stream, Size: 1974 bytes --]
--- linux-2.6.24/include/linux/rtmutex.h 2008-02-25 15:32:05.000000000 -0800
+++ linux-2.6.24.working/include/linux/rtmutex.h 2008-03-04 01:01:06.000000000 -0800
@@ -85,14 +85,15 @@
extern void __rt_mutex_init(struct rt_mutex *lock, const char *name);
extern void rt_mutex_destroy(struct rt_mutex *lock);
-extern void rt_mutex_lock(struct rt_mutex *lock);
+extern void rt_mutex_lock(struct rt_mutex *lock __LOCKDEP_DECLS);
extern int rt_mutex_lock_interruptible(struct rt_mutex *lock,
- int detect_deadlock);
+ int detect_deadlock __LOCKDEP_DECLS);
extern int rt_mutex_timed_lock(struct rt_mutex *lock,
struct hrtimer_sleeper *timeout,
int detect_deadlock);
extern int rt_mutex_trylock(struct rt_mutex *lock);
+extern int __rt_mutex_trylock(struct rt_mutex *lock __LOCKDEP_DECLS);
extern void rt_mutex_unlock(struct rt_mutex *lock);
--- linux-2.6.24/include/linux/sched.h 2008-02-25 15:32:05.000000000 -0800
+++ linux-2.6.24.working/include/linux/sched.h 2008-03-13 00:40:02.000000000 -0700
@@ -2093,10 +2093,17 @@
extern void signal_wake_up(struct task_struct *t, int resume_stopped);
/*
+ * lockstat support
+ */
+extern int task_spinnable(struct task_struct *p);
+
+/*
* Wrappers for p->thread_info->cpu access. No-op on UP.
*/
#ifdef CONFIG_SMP
+extern atomic_t cpu_range_error;
+
static inline unsigned int task_cpu(const struct task_struct *p)
{
return task_thread_info(p)->cpu;
--- linux-2.6.24/include/linux/spinlock.h 2008-02-25 15:32:05.000000000 -0800
+++ linux-2.6.24.working/include/linux/spinlock.h 2008-03-03 14:01:48.000000000 -0800
@@ -169,7 +169,7 @@
* lockdep-less calls, for derived types like rwlock:
* (for trylock they can use rt_mutex_trylock() directly.
*/
-extern void __lockfunc __rt_spin_lock(struct rt_mutex *lock);
+extern void __lockfunc __rt_spin_lock(struct rt_mutex *lock __LOCKDEP_DECLS);
extern void __lockfunc __rt_spin_unlock(struct rt_mutex *lock);
#ifdef CONFIG_PREEMPT_RT
next prev parent reply other threads:[~2008-03-14 0:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-14 0:03 [PATCH RT 0/6] " Bill Huey (hui)
2008-03-14 0:07 ` [PATCH RT 1/6] " Bill Huey (hui)
2008-03-14 0:09 ` Bill Huey (hui) [this message]
2008-03-14 0:12 ` [PATCH RT 3/6] " Bill Huey (hui)
2008-03-14 0:15 ` [PATCH RT 4/6] " Bill Huey (hui)
2008-03-14 0:18 ` [PATCH RT 5/6] " Bill Huey (hui)
2008-03-14 0:19 ` [PATCH RT 6/6] " Bill Huey (hui)
2008-03-14 0:26 ` [PATCH RT 0/6] " Bill Huey (hui)
2008-03-14 0:40 ` Bill Huey (hui)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9810cff90803131709m3a5b1e5ep2bfe566b3c3bdb66@mail.gmail.com \
--to=bill.huey@gmail.com \
--cc=a.p.zijlstra@chello.nl \
--cc=acme@redhat.com \
--cc=ak@suse.de \
--cc=cminyard@mvista.com \
--cc=dsaxena@plexity.net \
--cc=dsingleton@mvista.com \
--cc=dwalker@mvista.com \
--cc=ghaskins@novell.com \
--cc=gregkh@suse.de \
--cc=kevin@hilman.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mkohari@novell.com \
--cc=npiggin@suse.de \
--cc=pavel@ucw.cz \
--cc=pmorreale@novell.com \
--cc=rostedt@goodmis.org \
--cc=sdietrich@novell.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®