diff options
author | alc <alc@FreeBSD.org> | 2004-11-08 00:43:46 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2004-11-08 00:43:46 +0000 |
commit | 279c442e7b00039336f35f8337221afc75097719 (patch) | |
tree | 9c22bf433a4b1e53785d707539f3ec1a29b480d8 /sys/kern/uipc_cow.c | |
parent | ddc1dfe834242dfb57955d438edf435598a4ebeb (diff) | |
download | FreeBSD-src-279c442e7b00039336f35f8337221afc75097719.zip FreeBSD-src-279c442e7b00039336f35f8337221afc75097719.tar.gz |
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.
Diffstat (limited to 'sys/kern/uipc_cow.c')
-rw-r--r-- | sys/kern/uipc_cow.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |