From: Ben Hutchings <ben@decadent.org.uk>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: LKML <linux-kernel@vger.kernel.org>, stable-rt@vger.kernel.org
Subject: Interrupt randomness in 3.14.10-rt
Date: Fri, 11 Jul 2014 03:24:52 +0100 [thread overview]
Message-ID: <1405045492.26540.67.camel@deadeye.wl.decadent.org.uk> (raw)
[-- Attachment #1: Type: text/plain, Size: 1075 bytes --]
I noticed this change between 3.14.3-rt5 and 3.14.10-rt7:
--- debian/patches/features/all/rt/random-make-it-work-on-rt.patch (revision 21522)
+++ debian/patches/features/all/rt/random-make-it-work-on-rt.patch (working copy)
[...]
---- a/kernel/irq/manage.c
-+++ b/kernel/irq/manage.c
-@@ -942,6 +942,12 @@ static int irq_thread(void *data)
- if (action_ret == IRQ_HANDLED)
- atomic_inc(&desc->threads_handled);
-
-+#ifdef CONFIG_PREEMPT_RT_FULL
-+ migrate_disable();
-+ add_interrupt_randomness(action->irq, 0,
-+ desc->random_ip ^ (unsigned long) action);
-+ migrate_enable();
-+#endif
- wake_threads_waitq(desc);
- }
-
(I.e. old patch included these additions, new patch doesn't.)
Evidently this was made in the announced 3.14.10-rt6, not -rt7. Was it
intentional? Now irq_desc::random_ip is set but never used.
Ben.
--
Ben Hutchings
To err is human; to really foul things up requires a computer.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 811 bytes --]
next reply other threads:[~2014-07-11 2:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-11 2:24 Ben Hutchings [this message]
2014-07-11 7:24 ` Thomas Gleixner
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=1405045492.26540.67.camel@deadeye.wl.decadent.org.uk \
--to=ben@decadent.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=stable-rt@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
all inboxes | Powered by JetHome®