lkml.org 
[lkml]   [2012]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ipc: object information data in proc and sysfs
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@redhat.com>
http://karelzak.blogspot.com


\
 
 \ /
  Last update: 2012-11-20 15:01    [W:0.046 / U:3.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site