public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: Arun Sharma <arun.sharma@intel.com>
Cc: linux-arch@vger.kernel.org
Subject: Re: SHMLBA and compat tasks
Date: Sun, 29 Feb 2004 21:57:52 -0800	[thread overview]
Message-ID: <20040229215752.3a6f0ce7.davem@redhat.com> (raw)
In-Reply-To: <20040229021105.GA6964@intel.com>

On Sat, 28 Feb 2004 18:11:06 -0800
Arun Sharma <arun.sharma@intel.com> wrote:

> I read that to mean that there is a correctness problem, apart from
> performance issues on some platforms.
> 
> How about something like:
> 
> 			else
> #ifndef ARCH_HAS_VCACHE
> 			if (addr & ~PAGE_MASK)
> #endif
>  				return -EINVAL;
> 
> So that platforms with virtually indexed caches are not affected ?

By your own admittance this will break the conformance in question on
such architectures, and it's also bad to have different rules like
this in general.

Why don't we declare that SHM_LBA must be abided by on all platforms?
POSIX is not a high and mighty law which we must follow blindly, to me
this restriction is nonsensicle and supporting it fully will cause more
grief than just declaring that we don't support it.

  reply	other threads:[~2004-03-01  5:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-28  1:41 SHMLBA and compat tasks Arun Sharma
2004-02-28 23:55 ` David S. Miller
2004-02-29  2:11   ` Arun Sharma
2004-03-01  5:57     ` David S. Miller [this message]
2004-03-01 19:33       ` Arun Sharma
2004-03-01 19:41         ` David Mosberger
2004-03-01 20:11           ` David S. Miller
2004-03-01 20:17             ` David Mosberger
2004-03-01 20:16           ` Arun Sharma
2004-03-01 20:55             ` Matthew Wilcox
2004-03-02 19:43               ` Arun Sharma
2004-03-06  2:37                 ` Arun Sharma
2004-03-06  7:39                   ` David S. Miller

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=20040229215752.3a6f0ce7.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=arun.sharma@intel.com \
    --cc=linux-arch@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