cvs commit: src/sys/alpha/alpha pmap.c src/sys/amd64/amd64 pmap.c
src/sys/i386/i386 pmap.c src/sys/ia64/ia64 pmap.c
src/sys/sparc64/sparc64 pmap.c src/sys/vm pmap.h
Alan Cox
alc at FreeBSD.org
Sun Sep 7 19:45:04 PDT 2003
alc 2003/09/07 19:45:03 PDT
FreeBSD src repository
Modified files:
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
Log:
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
Revision Changes Path
1.137 +23 -0 src/sys/alpha/alpha/pmap.c
1.435 +24 -0 src/sys/amd64/amd64/pmap.c
1.431 +24 -0 src/sys/i386/i386/pmap.c
1.120 +24 -0 src/sys/ia64/ia64/pmap.c
1.122 +22 -0 src/sys/sparc64/sparc64/pmap.c
1.62 +1 -0 src/sys/vm/pmap.h
More information about the cvs-src
mailing list