Date: Wed, 20 Nov 2019 18:00:43 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r354907 - head/sys/vm Message-ID: <201911201800.xAKI0hD8031393@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Wed Nov 20 18:00:43 2019 New Revision: 354907 URL: https://svnweb.freebsd.org/changeset/base/354907 Log: 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 Modified: head/sys/vm/vm_page.c Modified: head/sys/vm/vm_page.c ============================================================================== --- head/sys/vm/vm_page.c Wed Nov 20 17:57:46 2019 (r354906) +++ head/sys/vm/vm_page.c Wed Nov 20 18:00:43 2019 (r354907) @@ -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));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911201800.xAKI0hD8031393>