diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2019-11-20 18:00:43 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2019-11-20 18:00:43 +0000 |
commit | 09a65f9ff57cd001284552082b071b95a3b8d0f3 (patch) | |
tree | 0dfa446553a3eabd05a2874e72dac6065d59ec1f /sys/vm/vm_page.c | |
parent | f3cdc62295dc9755327ac274a30c5beb07e44407 (diff) | |
download | src-09a65f9ff57cd001284552082b071b95a3b8d0f3.tar.gz src-09a65f9ff57cd001284552082b071b95a3b8d0f3.zip |
As with r354905 use uint16_t to store aflags on the stack and as function
arguments as the aflags size in vm_page_t has increased.
Sponsored by: DARPA, AFRL
Notes
Notes:
svn path=/head/; revision=354907
Diffstat (limited to 'sys/vm/vm_page.c')
-rw-r--r-- | sys/vm/vm_page.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 4c5f0da3a073..de1d84b4dbe5 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -433,7 +433,7 @@ sysctl_vm_page_blacklist(SYSCTL_HANDLER_ARGS) * Nonetheless, it write busies the page as a safety precaution. */ static void -vm_page_init_marker(vm_page_t marker, int queue, uint8_t aflags) +vm_page_init_marker(vm_page_t marker, int queue, uint16_t aflags) { bzero(marker, sizeof(*marker)); @@ -3175,7 +3175,7 @@ static inline void vm_pqbatch_process_page(struct vm_pagequeue *pq, vm_page_t m) { struct vm_domain *vmd; - uint8_t qflags; + uint16_t qflags; CRITICAL_ASSERT(curthread); vm_pagequeue_assert_locked(pq); @@ -3421,7 +3421,7 @@ void vm_page_dequeue(vm_page_t m) { struct vm_pagequeue *pq, *pq1; - uint8_t aflags; + uint16_t aflags; KASSERT(mtx_owned(vm_page_lockptr(m)) || m->ref_count == 0, ("page %p is allocated and unlocked", m)); |