{"push_id":747693493,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"b8c4d76738c091ce972e522ec36c8dce6642f6fb","before":"d6d829914b43c5cfe1482a423d5466cd717a330c","commits":[{"sha":"b8c4d76738c091ce972e522ec36c8dce6642f6fb","author":{"email":"5a1dc7909428b65e576a7190e0a26fbdefb8ed9b@FreeBSD.org","name":"jah"},"message":"Add two new pmap functions:\nvm_offset_t pmap_quick_enter_page(vm_page_t m)\nvoid pmap_quick_remove_page(vm_offset_t kva)\n\nThese will create and destroy a temporary, CPU-local KVA mapping of a specified page.\n\nGuarantees:\n--Will not sleep and will not fail.\n--Safe to call under a non-sleepable lock or from an ithread\n\nRestrictions:\n--Not guaranteed to be safe to call from an interrupt filter or under a spin mutex on all platforms\n--Current implementation does not guarantee more than one page of mapping space across all platforms. MI code should not make nested calls to pmap_quick_enter_page.\n--MI code should not perform locking while holding onto a mapping created by pmap_quick_enter_page\n\nThe idea is to use this in busdma, for bounce buffer copies as well as virtually-indexed cache maintenance on mips and arm.\n\nNOTE: the non-i386, non-amd64 implementations of these functions still need review and testing.\n\nReviewed by:\tkib\nApproved by:\tkib (mentor)\nDifferential Revision:\thttp://reviews.freebsd.org/D3013","distinct":true,"url":"https://api.github.com/repos/bsd-hacker/freebsd/commits/b8c4d76738c091ce972e522ec36c8dce6642f6fb"}]}