markj d46f64003d Fix some problems with the SPARSE_MAPPING option in the kernel linker.
- Ensure that the end of the mapping passed to vm_page_wire() is
  page-aligned.  vm_page_wire() expects this.
- Wire pages before reading data into them.
- Apply protections specified in the segment descriptor using
  vm_map_protect() once relocation processing is done.
- On amd64, ensure that we load KLDs above KERNBASE, since they
  are compiled with the "kernel" memory model by default.

Reviewed by:	kib
MFC after:	2 weeks
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D21756
2019-09-28 01:42:59 +00:00
..
2019-01-27 00:46:06 +00:00
2019-09-25 19:20:41 +00:00
2019-06-24 20:52:21 +00:00
2019-08-28 16:18:23 +00:00
2019-09-03 18:56:25 +00:00
2019-08-28 16:18:23 +00:00
2019-09-25 19:20:41 +00:00
2018-12-05 16:43:03 +00:00
2019-03-12 05:10:41 +00:00
2018-10-12 00:32:45 +00:00
2018-08-18 19:45:56 +00:00
2019-09-16 21:31:02 +00:00
2018-06-01 13:26:45 +00:00
2019-02-20 09:38:19 +00:00
2019-07-24 23:04:59 +00:00
2018-11-20 14:58:41 +00:00
2019-08-05 20:31:17 +00:00
2019-09-27 18:43:36 +00:00
2019-09-26 15:41:10 +00:00
2019-09-26 15:32:28 +00:00
2018-06-01 13:26:45 +00:00
2019-09-26 15:32:28 +00:00
2019-09-27 19:14:03 +00:00
2018-10-23 21:43:41 +00:00
2019-08-28 20:34:24 +00:00