Re: [patch] mm: tiny-shmem fix lor, mmap_sem vs i_mutex

From: David Howells
Date: Wed Sep 24 2008 - 14:29:21 EST


Nick Piggin <npiggin@xxxxxxx> wrote:

> RFC Quick patch to fix nommu anonymous shared memory without breaking
> locking...

That works:

# /doshm sysv
Command: sysv
shmid: 0
memory: 0xc3b00000
c3060000-c306a788 r-xs 00000000 00:0b 14582157 /lib/ld-uClibc-0.9.28.so
c3100000-c315ede4 r-xs 00000000 00:0b 14582179 /lib/libuClibc-0.9.28.so
c3938000-c393c000 rw-p 00000000 00:00 0
c3a68000-c3a6c000 rw-p 00008000 00:0b 14582157 /lib/ld-uClibc-0.9.28.so
c3a78000-c3a7c000 rw-p 00000000 00:0b 13763417 /doshm
c3a80000-c3aa0000 rwxp 00000000 00:00 0
c3aa0000-c3aac000 rw-p 00000000 00:00 0
c3ab8000-c3abc000 r-xs 00000000 00:0b 13763417 /doshm
c3b00000-c3bfa000 rw-S 00000000 00:07 0 /SYSV00000000 (deleted)
c3b00000-c3bfa000 rw-S 00000000 00:07 0 /SYSV00000000 (deleted)
nattch 2


Acked-by: David Howells <dhowells@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/