Date: Fri, 24 May 2002 16:06:18 -0700 (PDT) From: Thomas Moestl <tmm@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 11841 for review Message-ID: <200205242306.g4ON6If09777@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=11841 Change 11841 by tmm@tmm_sparc64 on 2002/05/24 16:05:45 There's probably not much point in having the pipe implementation hoard KVM for bad times. Well sharpened hat to: tmm Affected files ... ... //depot/projects/sparc64/sys/kern/sys_pipe.c#21 edit Differences ... ==== //depot/projects/sparc64/sys/kern/sys_pipe.c#21 (text+ko) ==== @@ -701,7 +701,7 @@ vm_offset_t kva = wpipe->pipe_map.bkva; wpipe->pipe_map.bkva = wpipe->pipe_map.kva = 0; kmem_free(kernel_map, kva, - wpipe->pipe_buffer.size + PAGE_SIZE); + wpipe->pipe_buffer.size + PAGE_SIZE + VCOLPAD); amountpipekva -= wpipe->pipe_buffer.size + PAGE_SIZE; } } @@ -1290,7 +1290,7 @@ amountpipekva -= cpipe->pipe_buffer.size + PAGE_SIZE; kmem_free(kernel_map, cpipe->pipe_map.bkva, - cpipe->pipe_buffer.size + PAGE_SIZE); + cpipe->pipe_buffer.size + PAGE_SIZE + VCOLPAD); cpipe->pipe_map.cnt = 0; cpipe->pipe_map.bkva = cpipe->pipe_map.kva = 0; cpipe->pipe_map.pos = 0; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205242306.g4ON6If09777>