lkml.org 
[lkml]   [1999]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.3.31 - shm broken on Alpha ?
Date
From: Dave Gilbert <gilbertd@treblig.org>
> A diff of the /proc/sysvipc/shm before and after the gnome app was run
> reveals differences like:
>
> key shmid perms size cpid lpid nattch uid gid cuid cgid
> atime dtime ctime
> 0 37158914 777 262144 15725 15558 0 9031 800 9031 800
> 944942965 944942966 944942965
>
> Two things I can notice which are odd about this (but I haven't gone back
> to a previous version to look):
> 1) The shmid is a great big hairy number.

That's OK, the new shmid number are great big hairy numbers:
the hex value is 0x2370002: it's the third (2, 0-based) shm segment, and the
sequence number is 0x46e (shmid/32768). These changes were nessecary to add
sysctl support.

> Ideas?

There were major changes in the shm code, and I couldn't test them on a
64-bit computer. Could you please compile and run the attached test program?
./shmtst 8 100000 20 20 0
or
./shmtst 8 100000 20 20 1 [you'll see lots of messages about deleted
segments]

Btw, are you running a SMP or UP kernel?
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.031 / U:0.836 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site