lkml.org 
[lkml]   [2001]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Patch and Performance of larger pipes
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++) {
\
 
 \ /
  Last update: 2005-03-22 13:08    [W:0.072 / U:27.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site