sys: Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
kmem_malloc/free: Use void * instead of vm_offset_t for kernel pointers.Reviewed by: kib, markjSponsored by: DARPADifferential Revision: https://reviews.freebsd.org/D36549
amd_ecc_inject: return an error instead of ignoring it in tsc_modeventSponsored by: Rubicon Communications, LLC ("Netgate")
amd*: clean up empty lines in .c and .h files
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that arestill not MPSAFE (or already are but aren’t properly mark
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that arestill not MPSAFE (or already are but aren’t properly marked).Use it in preparation for a general review of all nodes.This is non-functional change that adds annotations to SYSCTL_NODE andSYSCTL_PROC nodes using one of the soon-to-be-required flags.Mark all obvious cases as MPSAFE. All entries that haven't been markedas MPSAFE before are by default marked as NEEDGIANTApproved by: kib (mentor, blanket)Commented by: kib, gallatin, melifaroDifferential Revision: https://reviews.freebsd.org/D23718
show more ...
ecc_inject: Add Hygon Dhyana support.Submitted by: Pu Wen <puwen@hygon.cn>MFC after: 1 weekDifferential revision: https://reviews.freebsd.org/D23561
Eliminate the arena parameter to kmem_free(). Implicitly this corrects anerror in the function hypercall_memfree(), where the wrong arena was beingpassed to kmem_free().Introduce a per-page flag
Eliminate the arena parameter to kmem_free(). Implicitly this corrects anerror in the function hypercall_memfree(), where the wrong arena was beingpassed to kmem_free().Introduce a per-page flag, VPO_KMEM_EXEC, to mark physical pages that aremapped in kmem with execute permissions. Use this flag to determine whicharena the kmem virtual addresses are returned to.Eliminate UMA_SLAB_KRWX. The introduction of VPO_KMEM_EXEC makes itredundant.Update the nearby comment for UMA_SLAB_KERNEL.Reviewed by: kib, markjDiscussed with: jeffApproved by: re (marius)Differential Revision: https://reviews.freebsd.org/D16845
Eliminate the unused arena parameter from kmem_alloc_attr().Reviewed by: kib, markjDifferential Revision: https://reviews.freebsd.org/D16793
add a module that provides support for DRAM ECC error injection on AMD CPUsI imagine that the module would be useful only to a very limited numberof developers, so that's my excuse for not writing
add a module that provides support for DRAM ECC error injection on AMD CPUsI imagine that the module would be useful only to a very limited numberof developers, so that's my excuse for not writing any documentation.On a more serious note, please see DRAM Error Injection section of BKDGsfor families 10h - 16h. E.g. section 2.13.3.1 of BKDG for AMD Family 15hModels 00h-0Fh Processors.Many thanks to kib for his suggestions and comments.Discussed with: kibMFC after: 3 weeksDifferential Revision: https://reviews.freebsd.org/D9824