mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "willy tarreau" <wtarreau@yahoo.fr>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux 2.4.19pre3-ac2
Date: Tue, 19 Mar 2002 19:52:09 +0100 (CET)	[thread overview]
Message-ID: <20020319185209.2308.qmail@web20505.mail.yahoo.com> (raw)

Hi Alan,

I cannot compile shm.c unless I apply this
patch. I hope it's correct, I put 0 in the acct
field just because there was 0 at the
do_mmap() line.

I'm really sorry this patch will be mangled
by my mail client here, but it's a one liner,
self-explanatory.

Regards,
Willy

--- linux/ipc/shm.c-orig        Tue Mar 19 19:45:52
2002
+++ linux/ipc/shm.c     Tue Mar 19 19:46:17 2002
@@ -679,7 +679,7 @@
                shmdnext = shmd->vm_next;
                if (shmd->vm_ops == &shm_vm_ops
                    && shmd->vm_start -
(shmd->vm_pgoff << PAGE_SHIFT) == (ulong) shmaddr) {
-                       do_munmap(mm, shmd->vm_start,
shmd->vm_end - shmd->vm_start);
+                       do_munmap(mm, shmd->vm_start,
shmd->vm_end - shmd->vm_start, 0);
                        retval = 0;
                }
        }


___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

             reply	other threads:[~2002-03-19 18:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-19 18:52 willy tarreau [this message]
2002-03-19 19:08 ` Mike Fedyk
2002-03-19 19:45   ` willy tarreau
  -- strict thread matches above, loose matches on Subject: below --
2002-03-19 19:35 willy tarreau
2002-03-19 20:02 ` Alan Cox
2002-03-19 21:29   ` willy tarreau
2002-03-19 17:28 Alan Cox
2002-03-19 17:57 ` Adrian Bunk
2002-03-19 18:43   ` Randy.Dunlap
2002-03-19 23:56   ` Randy.Dunlap
2002-03-20  0:14     ` Alan Cox
2002-03-19 18:42 ` Adrian Bunk
2002-03-19 18:59   ` Alan Cox
2002-03-19 19:01     ` Mike Fedyk
2002-03-20  9:49 ` Christoph Hellwig
2002-03-20 17:54 ` Christoph Hellwig
2002-03-20 23:54   ` Alan Cox

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=20020319185209.2308.qmail@web20505.mail.yahoo.com \
    --to=wtarreau@yahoo.fr \
    --cc=alan@lxorguk.ukuu.org.uk \
    --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

all inboxes | Powered by JetHome®