Re: ipc: object information data in proc and sysfs

From: Sami Kerola
Date: Sun Nov 25 2012 - 06:11:35 EST


On Tue, Nov 20, 2012 at 12:21 PM, Karel Zak <kzak@xxxxxxxxxx> wrote:
> On Mon, Nov 19, 2012 at 04:12:50PM -0800, Andrew Morton wrote:
>> Where's the benefit in switching ipcs over to using /proc?
>>
>> procfs reads are probably slower than the syscalls?
>
> 32bit userspace and 64bit kernel (RHEL ppc64), it seems more reliable
> read from /proc than use the syscalls.
>
> I guess that IPC_64 flag for shmctl() commands is used by libc in 64bit
> userspace only.

It seems there is not much interest to have more IPC information
available in user space. Fair enough, and since nothign is exactly
broken so we can live with this.
--
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/