From: Christoph Hellwig <hch@infradead.org>
To: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [patch] s390: fadvise hint values.
Date: Tue, 12 Jul 2005 15:36:20 +0100 [thread overview]
Message-ID: <20050712143620.GA4880@infradead.org> (raw)
In-Reply-To: <20050712115219.GA28991@localhost.localdomain>
On Tue, Jul 12, 2005 at 01:52:19PM +0200, Martin Schwidefsky wrote:
> Hi Andrew,
> an ugly one. The fadvise hint values for POSIX_FADV_DONTNEED and
> POSIX_FADV_NOREUSE in the kernel and the glibc differ for s390-64
> (and worse the values for s390-31 and s390-64 differ as well ..).
> The glibc always had 6 and 7 instead of 4 and 5 for these two values
> for s390-64. My first reaction was to correct the values in the
> glibc headers but as Ulrich Drepper pointed out that has some
> unwanted consequences:
> 1) the applications build against the wrong values will get -EINVAL
> and the advice gets ignored, and
> 2) if the values 6 and 7 are ever used for some new advice then
> these applications might show erratic behaviour.
> I can't say which and how many applications use fadvise so it might
> be a better idea to fix this in the kernel.
>
> Patch is attached, what do you think ?
I'd rather fix the kernel and do some symbol versioning magic in
glibc. After all it's their stupidity that caused all these problems.
next prev parent reply other threads:[~2005-07-12 14:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-12 11:52 Martin Schwidefsky
2005-07-12 14:36 ` Christoph Hellwig [this message]
2005-07-12 14:40 ` Martin Schwidefsky
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=20050712143620.GA4880@infradead.org \
--to=hch@infradead.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=schwidefsky@de.ibm.com \
/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®