From: "Luis Claudio R. Goncalves" <lclaudio@uudg.org>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-rt-users <linux-rt-users@vger.kernel.org>,
Sebastian Sewior <bigeasy@linutronix.de>
Subject: Re: [ANNOUNCE] 3.8.4-rt1
Date: Sat, 23 Mar 2013 00:31:29 -0300 [thread overview]
Message-ID: <20130323033129.GA3969@uudg.org> (raw)
In-Reply-To: <alpine.LFD.2.02.1303222301010.22263@ionos>
On Fri, Mar 22, 2013 at 11:10:11PM +0100, Thomas Gleixner wrote:
| Dear RT Folks,
|
| I'm pleased to announce the 3.8.4-rt1 release.
|
| Again the credit for the heavy lifting goes to Sebastian Siewior, AKA
| bigeasy, who took up most of the work to get this out. He's on my
| companies engineering team and I hope you trust him as much as I do.
|
| Known issues:
|
| - SLUB behaves worse than SLAB on ARM
| - SLAB is broken on PowerPC
|
| Still we think that it's time to get out the stuff for broader
| testing. It's -rt1 and we need your help to get this stabilized.
I had to put two ugly hacks in place in order to let kernel build progress
a bit further. Even though they are not elegant at all, they can hint a way
to fix the two issues listed below:
fs/fscache/page.c: In function ‘fscache_invalidate_writes’:
fs/fscache/page.c:799:9: error: expected expression before ‘do’
and
drivers/gpu/drm/i915/i915_gem.c: In function ‘mutex_is_locked_by’:
drivers/gpu/drm/i915/i915_gem.c:4370:14: error: ‘struct mutex’ has no member named ‘owner’
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index de45b60..d2b04fc 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -4367,7 +4367,11 @@ static bool mutex_is_locked_by(struct mutex *mutex, struct task_struct *task)
return false;
#if defined(CONFIG_SMP) || defined(CONFIG_DEBUG_MUTEXES)
+#ifdef CONFIG_PREEMPT_RT_FULL
+ return mutex->lock.owner == task;
+#else
return mutex->owner == task;
+#endif
#else
/* Since UP may be pre-empted, we cannot assume that we own the lock */
return false;
diff --git a/fs/fscache/page.c b/fs/fscache/page.c
index ff000e5..d607a58 100644
--- a/fs/fscache/page.c
+++ b/fs/fscache/page.c
@@ -788,6 +788,12 @@ superseded:
/*
* Clear the pages pending writing for invalidation
*/
+
+static inline void lock_cookie(spinlock_t *lock)
+{
+ spin_lock(lock);
+}
+
void fscache_invalidate_writes(struct fscache_cookie *cookie)
{
struct page *page;
@@ -796,7 +802,7 @@ void fscache_invalidate_writes(struct fscache_cookie *cookie)
_enter("");
- while (spin_lock(&cookie->stores_lock),
+ while (lock_cookie(&cookie->stores_lock),
n = radix_tree_gang_lookup_tag(&cookie->stores, results, 0,
ARRAY_SIZE(results),
FSCACHE_COOKIE_PENDING_TAG),
--
[ Luis Claudio R. Goncalves Bass - Gospel - RT ]
[ Fingerprint: 4FDD B8C4 3C59 34BD 8BE9 2696 7203 D980 A448 C8F8 ]
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2013-03-23 3:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-22 22:10 [ANNOUNCE] 3.8.4-rt1 Thomas Gleixner
2013-03-23 1:30 ` Luis Claudio R. Goncalves
2013-03-23 17:17 ` cpufreq + PREEMPT_RT_FULL give bad context sleeping BUG Gregoire Gentil
2013-03-26 20:51 ` Sebastian Andrzej Siewior
2013-03-26 21:07 ` Thomas Gleixner
2013-03-26 21:33 ` Sebastian Andrzej Siewior
2013-03-26 21:38 ` Thomas Gleixner
2013-03-26 21:44 ` Thomas Gleixner
2013-03-27 15:23 ` Gregoire Gentil
2013-04-25 15:23 ` Sebastian Andrzej Siewior
2013-03-23 18:38 ` [ANNOUNCE] 3.8.4-rt1 Sebastian Andrzej Siewior
2013-03-24 1:15 ` Luis Claudio R. Goncalves
2013-03-23 3:31 ` Luis Claudio R. Goncalves [this message]
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=20130323033129.GA3969@uudg.org \
--to=lclaudio@uudg.org \
--cc=bigeasy@linutronix.de \
--cc=linux-rt-users@vger.kernel.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.