From: Lee Revell <rlrevell@joe-job.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: Steven Rostedt <rostedt@goodmis.org>,
LKML <linux-kernel@vger.kernel.org>,
Daniel Walker <dwalker@mvista.com>
Subject: Re: [Fwd: Re: [patch] Real-Time Preemption, -RT-2.6.13-rc4-V0.7.52-01]
Date: Sat, 06 Aug 2005 23:05:35 -0400 [thread overview]
Message-ID: <1123383935.17039.6.camel@mindpipe> (raw)
In-Reply-To: <20050805105943.GA24994@elte.hu>
zOn Fri, 2005-08-05 at 12:59 +0200, Ingo Molnar wrote:
> ok, looks good - i've applied it and released the -52-14 PREEMPT_RT
> patch.
>
Does not compile if RCU stats are enabled but torture test disabled.
Lee
--- linux-2.6.13-rc4/fs/proc/proc_misc.c.orig 2005-08-06 22:59:46.000000000 -0400
+++ linux-2.6.13-rc4/fs/proc/proc_misc.c 2005-08-06 23:04:42.000000000 -0400
@@ -654,6 +654,7 @@
return proc_calc_metrics(page, start, off, count, eof, len);
}
+#ifdef CONFIG_RCU_TORTURE_TEST
int rcu_read_proc_torture_writer(char *page, char **start, off_t off,
int count, int *eof, void *data)
{
@@ -683,6 +684,7 @@
len = rcu_read_proc_torture_stats_data(page);
return proc_calc_metrics(page, start, off, count, eof, len);
}
+#endif /* #ifdef CONFIG_RCU_TORTURE_TEST */
#endif /* #ifdef CONFIG_RCU_STATS */
void __init proc_misc_init(void)
@@ -712,9 +714,11 @@
{"rcugp", rcu_read_proc_gp},
{"rcuptrs", rcu_read_proc_ptrs},
{"rcuctrs", rcu_read_proc_ctrs},
+#ifdef CONFIG_RCU_TORTURE_TEST
{"rcutw", rcu_read_proc_torture_writer},
{"rcutr", rcu_read_proc_torture_reader},
{"rcuts", rcu_read_proc_torture_stats},
+#endif /* #ifdef CONFIG_RCU_TORTURE_TEST */
#endif /* #ifdef CONFIG_RCU_STATS */
{NULL,}
};
Lee
next prev parent reply other threads:[~2005-08-07 3:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-04 20:16 [Fwd: Re: [patch] Real-Time Preemption, -RT-2.6.13-rc4-V0.7.52-01] Steven Rostedt
2005-08-05 10:59 ` Ingo Molnar
2005-08-07 3:05 ` Lee Revell [this message]
2005-08-08 14:42 ` Paul E. McKenney
2005-08-08 14:53 ` [patch] Real-Time Preemption, -RT-2.6.13-rc4-V0.7.52-16 Ingo Molnar
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=1123383935.17039.6.camel@mindpipe \
--to=rlrevell@joe-job.com \
--cc=dwalker@mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rostedt@goodmis.org \
/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