libreplace and the mmap blacklist

simo idra at samba.org
Mon Jul 4 05:57:19 MDT 2011


On Mon, 2011-07-04 at 20:59 +1000, Andrew Bartlett wrote:
> I've been looking into mmap() and tdb, and noticed the MMAP_BLACKLIST
> (for HPUX).  We seem to define this for the autoconf libreplace build,
> but not the waf build. 
> 
> What is the right way to get mmap() banned on the platform?
> 
> Does anyone know if the alleged brokenness of mmap() on HP-UX is
> detectable with configure, or is it just subtly wrong?

IIRC HP-UX does not have page cache coherence, it may be detectable in
configure I guess by doing both memory and file based operations, but I
don't think it is worth to waste so much time on it, HP-UX is basically
dead after all.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>



More information about the samba-technical mailing list