Date: Sun, 7 Sep 2003 19:45:03 -0700 (PDT) From: Alan Cox <alc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: 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 Message-ID: <200309080245.h882j3YH012382@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309080245.h882j3YH012382>