Messages in this thread | | | From | (Joerg Pommnitz) | Subject | old_size argument in mremap | Date | Tue, 26 Mar 1996 11:56:39 +0200 (CET) |
| |
Hello all, reading the kernel implementation of mremap I came across the old_size argument. Why is it there? The kernel already knows the size of the vma, so it seems unnecessary to provide this information as an additional argument. IMHO
caddr_t mremap (caddr_t addr, size_t new_size, int flags);
would be cleaner. Currently only REMAP_CAN_MOVE (or something like this) would be a defined value for flags.
Any comments?
-- Best regards Joerg -------------------------------------------------------------------------------- Joerg Pommnitz, ARTe Team, IBM Scientific Center Heidelberg, Germany Mail1: pommnitz@heidelbg.ibm.com Mail2: jpo@vnet.ibm.com Tel. : Germany (06221) 59 3609
| |