[PATCH] [SYSVIPC] Change shm_tot from int to size_t

From: Makhlis, Lev
Date: Fri Jun 25 2004 - 10:44:41 EST


I see that shm_tot (the total number of pages in shm segments) in
ipc/shm.c is defined as int, even though its max value (shmall) is size_t.

Admittedly, it only matters for systems with >8TB memory, but shouldn't
shm_tot also be size_t? The attached patch makes it so.

Attachment: shmtot64.patch
Description: Binary data