Re: Hangs in 2.5.41-mm1

Paul Larson
2002-10-10T15:45:49Z

On Wed, 2002-10-09 at 16:32, Andrew Morton wrote:
> -mm2 will cure all ills ;)

If only we could be so lucky! :)

Linux-2.5.41-mm2
# echo 768 > /proc/sys/vm/nr_hugepages
# echo 1610612736 > /proc/sys/kernel/shmmax
# ./shmt01
./shmt01: IPC Shared Memory TestSuite program

Get shared memory segment (67108864 bytes)

Attach shared memory segment to process

Index through shared memory segment ...

Release shared memory

successful!
# ./shmt01 -s 1610612736./shmt01: IPC Shared Memory TestSuite program

Get shared memory segment (1610612736 bytes)

Attach shared memory segment to process

Index through shared memory segment ...

Release shared memory

successful!
#
*HANG*

I went back and tried to reproduce it. I got through the first run of
shmt01, then got half the command typed of the second run through it and
it hang. So if anything, it would appear that mm2 is easier to hang
than mm1.

-Paul Larson