Re: Patch and Performance of larger pipes

Manfred Spraul (manfred@colorfullife.com)
Thu, 18 Oct 2001 20:18:47 +0200


This is a multi-part message in MIME format.
--------------A0B49C5F90BF14A4D4C09CB6
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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

--
	MAnfred
--------------A0B49C5F90BF14A4D4C09CB6
Content-Type: text/plain; charset=us-ascii;
 name="patch-kiopipe2"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-kiopipe2"

--- 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++) {

--------------A0B49C5F90BF14A4D4C09CB6--

- 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/