public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Manfred Spraul <manfred@colorfullife.com>
To: Hubertus Franke <frankeh@watson.ibm.com>, linux-kernel@vger.kernel.org
Subject: Re: Patch and Performance of larger pipes
Date: Thu, 18 Oct 2001 20:18:47 +0200	[thread overview]
Message-ID: <3BCF1D07.1C54BAAD@colorfullife.com> (raw)
In-Reply-To: <3BCF1A74.AE96F241@colorfullife.com>

[-- Attachment #1: Type: text/plain, Size: 110 bytes --]

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

--
	MAnfred

[-- Attachment #2: patch-kiopipe2 --]
[-- Type: text/plain, Size: 379 bytes --]

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

  reply	other threads:[~2001-10-18 18:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-18 18:07 Patch and Performance of larger pipes Manfred Spraul
2001-10-18 18:18 ` Manfred Spraul [this message]
2001-10-18 23:05 ` Ryan Cumming
2001-10-19  0:15   ` Stefan Reinauer
2001-10-19 11:37     ` Carlo Strozzi
2001-10-19  4:19   ` Mike Galbraith
2001-10-19 13:52 ` Hubertus Franke
  -- strict thread matches above, loose matches on Subject: below --
2001-10-18 15:34 Hubertus Franke
2001-10-18 17:43 ` David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3BCF1D07.1C54BAAD@colorfullife.com \
    --to=manfred@colorfullife.com \
    --cc=frankeh@watson.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox