All of lore.kernel.org
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: Context Switching is Broken
Date: Thu, 10 Jun 2010 15:20:15 +0100	[thread overview]
Message-ID: <20100610142015.GC32362@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <004801cb08a7$913a9f90$b3afdeb0$@deacon@arm.com>

On Thu, Jun 10, 2010 at 03:16:49PM +0100, Will Deacon wrote:
> > On Thu, Jun 10, 2010 at 04:11:35AM -0700, Herman Swartz wrote:
> > > Context switching is broken. The man page for context is example code
> > > that doesn't work, but should. Does a bug report need to be submitted?
> > 
> > $ man context
> > No manual entry for context
> > 
> > ?
> > 
> 
> Quite. man makecontext has a fairly scary example, maybe that's it.

In which case it's a question for libc people - the kernel has nothing
to do with makecontext, getcontext, setcontext and swapcontext.

I believe for glibc, these are simply unimplemented on ARM, and linking
a program which uses makecontext with glibc would result in the linker
issuing:

warning: makecontext is not implemented and will always fail

Same for the other three functions.

  reply	other threads:[~2010-06-10 14:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-10 11:11 Context Switching is Broken Herman Swartz
2010-06-10 14:01 ` Russell King - ARM Linux
2010-06-10 14:16   ` Will Deacon
2010-06-10 14:20     ` Russell King - ARM Linux [this message]
2010-06-10 20:36       ` Martin Guy
2010-06-10 21:18         ` Herman Swartz
2010-06-10 21:29           ` Martin Guy
2010-06-10 22:59             ` Russell King - ARM Linux
2010-06-10 23:26               ` Herman Swartz
2010-06-10 23:36                 ` Russell King - ARM Linux
2010-06-10 23:22             ` Herman Swartz

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=20100610142015.GC32362@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=linux-arm-kernel@lists.infradead.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 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.