Re: ipc: object information data in proc and sysfs

From: Karel Zak
Date: Tue Nov 20 2012 - 07:21:20 EST


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.

Karel

--
Karel Zak <kzak@xxxxxxxxxx>
http://karelzak.blogspot.com
--
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/