> Date: Mon, 22 Dec 2014 21:19:40 -0500
> From: Ted Unangst <[email protected]>
> 
> @@ -1723,11 +1706,9 @@ uvm_swap_io(struct vm_page **pps, int st
>        * now allocate a buf for the i/o.
>        * [make sure we don't put the pagedaemon to sleep...]
>        */
> -     s = splbio();
>       pflag = (async || curproc == uvm.pagedaemon_proc) ? PR_NOWAIT :
>           PR_WAITOK;
> -     bp = pool_get(&bufpool, pflag);
> -     splx(s);
> +     bp = pool_get(&bufpool, pflag | PR_ZERO);

Why are you adding PR_ZERO here?

Reply via email to