Re: wonderffffffffull ac filemap patch

Alan Cox (alan@lxorguk.ukuu.org.uk)
27 Mar 2003 19:07:03 +0000


On Thu, 2003-03-27 at 17:59, Hugh Dickins wrote:
> > For 2.4 I just wanted to handle what we had and fix up the spec violations.
> > For 2.5.x rlimit64 is calling 8)
>
> Fixing up a silly in what's there, that I understand; and adding rlimit64,
> that too. But on 64-bit arches, isn't rlimit already rlimit64?
>
> If the answer to that is Yes, then doesn't the 0xFFFFFFFFULL test cripple
> them? If the answer to that is No, then how come we're trying to handle
> a case in which limit has more than 32 bits?

Infallibility is only available by special request. I'd have to read the
code and specs again but what you say sounds quite reasonable since off_t
would be 64bit, and rlimit types likewise

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/