All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Rowand <frank.rowand@am.sony.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: <linux-rt-users@vger.kernel.org>
Subject: spin locks and migrate_disable()
Date: Fri, 30 Mar 2012 14:57:45 -0700	[thread overview]
Message-ID: <4F762C59.4050008@am.sony.com> (raw)

Hi Thomas,

Two questions about spin_lock() in include/linux/spinlock_rt.h.

(1) spin_lock() and related functions invoke migrate_disable() and
migrate_enable().  These functions are created by your patch,
sched-migrate-disable.patch, and are EXPORT_SYMBOL_GPL().  Would
you be willing to change these to EXPORT_SYMBOL()?

(2) What is the purpose of the migrate_disable() in the spin lock?
Is it a correctness issue, or a performance issue, or something else?

Thanks!

-Frank


             reply	other threads:[~2012-03-30 21:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-30 21:57 Frank Rowand [this message]
2012-04-13  7:52 ` spin locks and migrate_disable() 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=4F762C59.4050008@am.sony.com \
    --to=frank.rowand@am.sony.com \
    --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.