Re: ipc: object information data in proc and sysfs

2012-11-25 Thread Sami Kerola
On Tue, Nov 20, 2012 at 12:21 PM, Karel Zak 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 m

Re: ipc: object information data in proc and sysfs

2012-11-20 Thread Karel Zak
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 gu

Re: ipc: object information data in proc and sysfs

2012-11-19 Thread Andrew Morton
On Sun, 18 Nov 2012 12:31:08 + Sami Kerola wrote: > Hello, > > While back I started to look how to get util-linux ipcs(1) tool to > read values from /proc instead of using IPC multiplex functions. Most > of the data ipcs(1) is interested is available in /proc, but there are > few exceptions