linux-mips
[Top] [All Lists]

Re: [PATCH, RFC] MIPS: Implement the getcontext API

To: "Joseph S. Myers" <joseph@codesourcery.com>, Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH, RFC] MIPS: Implement the getcontext API
From: David Daney <ddaney@caviumnetworks.com>
Date: Wed, 15 Apr 2009 14:37:14 -0700
Cc: "Maciej W. Rozycki" <macro@codesourcery.com>, linux-mips@linux-mips.org, libc-ports@sourceware.org, "Maciej W. Rozycki" <macro@linux-mips.org>
In-reply-to: <Pine.LNX.4.64.0904152018070.3560@digraph.polyomino.org.uk>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <alpine.DEB.1.10.0902282326580.4064@tp.orcam.me.uk> <Pine.LNX.4.64.0904152018070.3560@digraph.polyomino.org.uk>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.21 (X11/20090320)
Joseph S. Myers wrote:
On Sun, 1 Mar 2009, Maciej W. Rozycki wrote:

Hello,

Here is code to implement the getcontext API for MIPS. This glibc patch is sent to the linux-mips mailing list, because it makes use of an internal syscall which has not been designated as a part of the public ABI. I am writing to request this syscall to become fixed as a part of the ABI or to seek for an alternative. See below for the rationale.

Was there any conclusion about whether the assumptions this patch makes about the kernel are OK (and so it can go in) or not?


My (unofficial) conclusion is that this should be part of the kernel's public ABI, and that you should commit the glibc patch. However, Ralf should probably weigh in the subject so we can know this definitively.

David Daney


<Prev in Thread] Current Thread [Next in Thread>