]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Introduce a new pmap function, pmap_extract_and_hold(). This function
authorAlan Cox <alc@FreeBSD.org>
Mon, 8 Sep 2003 02:45:03 +0000 (02:45 +0000)
committerAlan Cox <alc@FreeBSD.org>
Mon, 8 Sep 2003 02:45:03 +0000 (02:45 +0000)
commitba2157f21867991a390cd590ec7f7ed44e7a18c1
treeb2790809d73f520fb71ebb6aa2acc4efb7933854
parenta94100fa9b9ddccb74164cb9407e69fba557dbac
Introduce a new pmap function, pmap_extract_and_hold().  This function
atomically extracts and holds the physical page that is associated with the
given pmap and virtual address.  Such a function is needed to make the
memory mapping optimizations used by, for example, pipes and raw disk I/O
MP-safe.

Reviewed by: tegge
sys/alpha/alpha/pmap.c
sys/amd64/amd64/pmap.c
sys/i386/i386/pmap.c
sys/ia64/ia64/pmap.c
sys/sparc64/sparc64/pmap.c
sys/vm/pmap.h