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

From: Andries Brouwer
Date: Fri Jun 25 2004 - 19:17:38 EST


On Fri, Jun 25, 2004 at 04:56:32PM -0500, Makhlis, Lev wrote:

> What do you think about following the example of sys_statfs in sys_shmctl?

I don't mind. It is fairly unimportant - just the informative stuff
printed by

% ipcs -m -l

------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 32768
max total shared memory (kbytes) = 8388608
min seg size (bytes) = 1

(but it seems a pity to deny user space this information if only
one field is large).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/