Because 2.2.x kernels require a backing-store for such mappings, for
shared-anonymous there is none.
This shortcoming appears to have be corrected for the upcoming 2.4.x
kernels, perhaps you could use them?
It seems to me that this is THE way to have a parent share large
amounts of data with several children that just need to
read/search through it.
As a workaround, create a file and unlink it immediately, then
ftruncate and mmap it.
--cw
-
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/