From: Clark Williams <williams@redhat.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: LKML <linux-kernel@vger.kernel.org>,
linux-rt-users <linux-rt-users@vger.kernel.org>
Subject: Re: [ANNOUNCE] 3.6.11-rt24 (apocalypse release)c
Date: Fri, 21 Dec 2012 09:26:51 -0600 [thread overview]
Message-ID: <20121221092651.55b44bfb@redhat.com> (raw)
In-Reply-To: <alpine.LFD.2.02.1212211413200.3148@ionos>
[-- Attachment #1: Type: text/plain, Size: 1391 bytes --]
On Fri, 21 Dec 2012 14:50:38 +0100 (CET)
Thomas Gleixner <tglx@linutronix.de> wrote:
> Index: linux-stable/block/blk-ioc.c
> ===================================================================
> --- linux-stable.orig/block/blk-ioc.c
> +++ linux-stable/block/blk-ioc.c
> @@ -110,7 +110,7 @@ static void ioc_release_fn(struct work_s
> spin_unlock(q->queue_lock);
> } else {
> spin_unlock_irqrestore(&ioc->lock, flags);
> - cpu_relax();
> + cpu_chill();
> spin_lock_irqsave_nested(&ioc->lock, flags, 1);
> }
> }
> @@ -188,7 +188,7 @@ retry:
> spin_unlock(icq->q->queue_lock);
> } else {
> spin_unlock_irqrestore(&ioc->lock, flags);
> - cpu_relax();
> + cpu_chill();
> goto retry;
> }
> }
>
Thomas,
I had to add this to get -rt24 to compile:
commit cb25d4b84a6d8f155134f6d9aa2997a452ab1dca
Author: Clark Williams <williams@redhat.com>
Date: Fri Dec 21 09:22:26 2012 -0600
[RT] pull in include/linux/delay.h to get cpu_chill()
Signed-off-by: Clark Williams <williams@redhat.com>
diff --git a/block/blk-ioc.c b/block/blk-ioc.c
index 2332787..fb21ad5 100644
--- a/block/blk-ioc.c
+++ b/block/blk-ioc.c
@@ -8,6 +8,7 @@
#include <linux/blkdev.h>
#include <linux/bootmem.h> /* for max_pfn/max_low_pfn */
#include <linux/slab.h>
+#include <linux/delay.h>
#include "blk.h"
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2012-12-21 15:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-21 13:50 [ANNOUNCE] 3.6.11-rt24 (apocalypse release)c Thomas Gleixner
2012-12-21 15:26 ` Clark Williams [this message]
2012-12-21 15:39 ` Thomas Gleixner
2012-12-21 16:06 ` Mike Galbraith
2012-12-21 16:21 ` Mike Galbraith
2012-12-21 16:29 ` Thomas Gleixner
2012-12-21 16:36 ` Mike Galbraith
2012-12-21 16:54 ` Mike Galbraith
2012-12-21 17:59 ` Mike Galbraith
2012-12-21 18:03 ` Mike Galbraith
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=20121221092651.55b44bfb@redhat.com \
--to=williams@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox