Messages in this thread Patch in this message |  | | Date | Thu, 18 Oct 2001 20:18:47 +0200 | From | Manfred Spraul <> | Subject | Re: 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(¤t->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++) { |  |