-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel/freebsd: include mapped buffers in core dump
It was impossible to include mapped contigmem buffers in core dump. Add hw.contigmem.coredump_enable tunable to control the inclusion. Mappings backed by OBJ_FICTITIOUS are excluded from core dump. While contigmem is a device and its OBJT_DEVICE mappings get this flag, they are actually backed by memory. Clear OBJ_FICTITIOUS mapping bit to include them in core dump. Do this only if hw.contigmem.coredump_enable=1. Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
- Loading branch information
1 parent
ff92d10
commit cbe57f3
Showing
2 changed files
with
28 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters