original_kernel/ipc
Eric W. Biederman 9d66586f77 shm: fix the filename of hugetlb sysv shared memory
Some user space tools need to identify SYSV shared memory when examining
/proc/<pid>/maps.  To do so they look for a block device with major zero, a
dentry named SYSV<sysv key>, and having the minor of the internal sysv
shared memory kernel mount.

To help these tools and to make it easier for people just browsing
/proc/<pid>/maps this patch modifies hugetlb sysv shared memory to use the
SYSV<key> dentry naming convention.

User space tools will still have to be aware that hugetlb sysv shared
memory lives on a different internal kernel mount and so has a different
block device minor number from the rest of sysv shared memory.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: "Serge E. Hallyn" <serge@hallyn.com>
Cc: Albert Cahalan <acahalan@gmail.com>
Cc: Badari Pulavarty <pbadari@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-06-16 13:16:16 -07:00
..
Makefile
compat.c
compat_mq.c
ipc_sysctl.c
mqueue.c Remove SLAB_CTOR_CONSTRUCTOR 2007-05-17 05:23:04 -07:00
msg.c
msgutil.c
sem.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
shm.c shm: fix the filename of hugetlb sysv shared memory 2007-06-16 13:16:16 -07:00
util.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
util.h