diff options
author | glebius <glebius@FreeBSD.org> | 2016-02-03 23:30:17 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2016-02-03 23:30:17 +0000 |
commit | 953ea03018f155940b6a4b4d34edf9d5107822fe (patch) | |
tree | ab0931af6386f78986bd989d411e612dfc082b5c /sys/amd64 | |
parent | 8f977b6c5c07cc8b9c845778b9b384d9e37482ee (diff) | |
download | FreeBSD-src-953ea03018f155940b6a4b4d34edf9d5107822fe.zip FreeBSD-src-953ea03018f155940b6a4b4d34edf9d5107822fe.tar.gz |
Redo r292484. Embed task(9) into zone, so that uz_maxaction is called
in a context that can sleep, allowing consumers of the KPI to run their
drain routines without any extra measures.
Discussed with: jtl
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/uma_machdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/amd64/uma_machdep.c b/sys/amd64/amd64/uma_machdep.c index db566ae..fc343ca 100644 --- a/sys/amd64/amd64/uma_machdep.c +++ b/sys/amd64/amd64/uma_machdep.c @@ -32,6 +32,7 @@ __FBSDID("$FreeBSD$"); #include <sys/malloc.h> #include <sys/mutex.h> #include <sys/systm.h> +#include <sys/taskqueue.h> #include <vm/vm.h> #include <vm/vm_page.h> #include <vm/vm_pageout.h> |