Subject: Re: CVS commit: src
To: Chris G. Demetriou <email@example.com>
From: Todd Vierling <firstname.lastname@example.org>
Date: 09/30/1998 15:32:25
On 30 Sep 1998, Chris G. Demetriou wrote:
: > IMHO, this seems to indicate that best effort is good, and no-op is
: > sufficient.
: I just read the solaris manual page.
: It specifically says "the kernel uses this information." I don't see
: any place to indicate that the kernel just throws it away, or actually
: even that the kernel may ignore the advice, but it's unreasonable to
: expect that the advice will be followed unconditionally. However,
: there is the bald statement that the kernel _does_ use the
: information, rather than just throw it away.
Then why would it be so bad to pretend to accept the data?
Not to mention it's rather rude that we define the call, document the call,
have defines for the call in <sys/mman.h>, and die with EOPNOTSUPP when
given valid memory addresses. The least we could do is pretend to be happy
with the information, as long as the memory range is valid.
-- Todd Vierling (Personal email@example.com; Bus. firstname.lastname@example.org)