Messages in this thread | | | From | "Manfred" <> | Subject | Re: 2.3.31 - shm broken on Alpha ? | Date | Sat, 11 Dec 1999 23:06:13 +0100 |
| |
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] | |