From 279c442e7b00039336f35f8337221afc75097719 Mon Sep 17 00:00:00 2001 From: alc Date: Mon, 8 Nov 2004 00:43:46 +0000 Subject: Introduce two new options, "CPU private" and "no wait", to sf_buf_alloc(). Change the spelling of the "catch" option to be consistent with the new options. Implement the "no wait" option. An implementation of the "CPU private" for i386 will be committed at a later date. --- sys/kern/uipc_cow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern/uipc_cow.c') diff --git a/sys/kern/uipc_cow.c b/sys/kern/uipc_cow.c index 6805804..ac9b6d0 100644 --- a/sys/kern/uipc_cow.c +++ b/sys/kern/uipc_cow.c @@ -138,7 +138,7 @@ socow_setup(struct mbuf *m0, struct uio *uio) /* * Allocate an sf buf */ - sf = sf_buf_alloc(pp, PCATCH); + sf = sf_buf_alloc(pp, SFB_CATCH); if (!sf) { vm_page_lock_queues(); vm_page_cowclear(pp); -- cgit v1.1