From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Andries.Brouwer@cwi.nl
Cc: linux-kernel@vger.kernel.org, Rusty Russell <rusty@rustcorp.com.au>
Subject: Re: syscall documentation (2)
Date: Fri, 7 Feb 2003 10:58:38 +1100 [thread overview]
Message-ID: <20030207105838.303df6c9.sfr@canb.auug.org.au> (raw)
In-Reply-To: <UTC200302062008.h16K8Aa23600.aeb@smtp.cwi.nl>
On Thu, 6 Feb 2003 21:08:10 +0100 (MET) Andries.Brouwer@cwi.nl wrote:
>
> The next new page is futex.2.
>
> Comments welcome.
> Andries
> aeb@cwi.nl
>
> -------------------------------
> NAME
> futex - Fast Userspace Locking system call
>
> SYNOPSIS
> #include <linux/futex.h>
>
> #include <sys/time.h>
>
> int sys_futex (void *futex, int op, int val, const struct
> timespec *timeout);
In discussions with Rusty, we decided that the first parameter
to sys_futex should be a u32 * i.e. a pointer to a 32 bit quantity
in user space. This is what is assumed by the code at the moment.
The kernel doesn't really care if it is signed or not as the only
test done on it is for equality.
I will be submitting a patch to that effect shortly. This also makes
it much easier to do the compatibility layer interface ...
> The futex argument needs to point to an aligned integer
^^^^^^^
32 bit quantity
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
prev parent reply other threads:[~2003-02-06 23:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-06 20:08 Andries.Brouwer
2003-02-06 23:58 ` Stephen Rothwell [this message]
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=20030207105838.303df6c9.sfr@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=Andries.Brouwer@cwi.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
/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®