[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mmap64 for PA
From: |
Ulrich Drepper |
Subject: |
Re: mmap64 for PA |
Date: |
19 Apr 2001 21:04:15 -0700 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.2 (Thelxepeia) |
Matthew Wilcox <address@hidden> writes:
> New file. Simply enclosing it seems easier than sending a diff.
This kind of change shouldn't be necessary. You should be able to
include the PPC version and unconditionally define
__ASSUME_MMAP2_SYSCALL for PA in kernel-features.h.
Beside, your code wasn't correct. Whether any of the lower 12 bits is
set does not determine whether mmap2 or mmap is used. If the offset
is not page aligned this is an error.
Finally, will PA forever have 4k pages? I thought PA can have
different page sizes. What will the mmap2 implementation do in this case?
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
- mmap64 for PA, Matthew Wilcox, 2001/04/19
- Re: mmap64 for PA,
Ulrich Drepper <=