mmap hang with 2.3.7

Robert B. Hamilton (rbh041a@unix.tamu.edu)
Mon, 21 Jun 1999 18:44:36 -0500 (CDT)


If I mmap a large file PROT_READ, MAP_PRIVATE, and then proceed to
read the mmap'ed area with a pointer, my program hangs with kernel
2.3.7. I did not see this with 2.3.6. The system responds only to
hot keys like alt-sysrq, which performs only the show-functions or
reboot.

"Large" meaning definitely larger than available ram; with small
files I don't see this happen, although I don't have the patience
to narrow that down with experimentation.

The code to open and mmap the file is exactly the same as in
(actually copied from) scripts/mkdep.c

System is UP, i386, a portion of .config below
-- Robert
-------------
CONFIG_M586TSC=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_TSC=y
CONFIG_1GB=y
CONFIG_MODULES=y
# CONFIG_MODVERSIONS is not set
CONFIG_KMOD=y

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/