Re: Patch and Performance of larger pipes

From: Manfred Spraul (manfred@colorfullife.com)
Date: Thu Oct 18 2001 - 13:18:47 EST


Sorry, the patches don't compile - I mixed 2 different versions.
Apply the attached patch on top.

--
	MAnfred

--- 2.4/fs/pipe.c Thu Oct 18 20:10:13 2001 +++ build-2.4/fs/pipe.c Thu Oct 18 00:21:08 2001 @@ -113,7 +113,7 @@ len = (pio->offset+pio->len+PAGE_SIZE-1)/PAGE_SIZE; down_read(&current->mm->mmap_sem); len = get_user_pages(current, current->mm, (unsigned long)buf, len, - 0, pio->pages, vmas); + 0, 0, pio->pages, vmas); if (len > 0) { int i; for(i=0;i<len;i++) {

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 23 2001 - 21:00:21 EST