From: David Mosberger <davidm@napali.hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] mremap and "negative" addresses
Date: Fri, 01 Nov 2002 12:58:54 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590709805324@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590709805322@msgid-missing>
>>>>> On Fri, 1 Nov 2002 12:21:28 +0000, Matthew Wilcox <willy@debian.org> said:
Matthew> hmm.. x86 handles this kind of thing by comparing against
Matthew> (unsigned long)-125 instead. any reason we can't do the
Matthew> same?
Because on ia64 (like on Alpha, for example), there _is_ a clean
mechanism to return an error status and an error code at the syscall
level.
Matthew> i also notice that sys_fcntl has no workaround:
That looks like a bug.
Both for mremap() and F_GETOWN, we should use the macro
force_successful_syscall_return() (not that this is an accepted macro
yet, but it makes the intention much clearer).
--david
prev parent reply other threads:[~2002-11-01 12:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-01 8:08 [Linux-ia64] mremap and "negative" addresses Matt Chapman
2002-11-01 12:21 ` Matthew Wilcox
2002-11-01 12:58 ` David Mosberger [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=marc-linux-ia64-105590709805324@msgid-missing \
--to=davidm@napali.hpl.hp.com \
--cc=linux-ia64@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox