mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andi Kleen <ak@muc.de>
To: Bart Oldeman <bartoldeman@users.sourceforge.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH][RFC] introduce a mmap MAP_DONTEXPAND flag
Date: Thu, 18 Mar 2004 01:58:02 +0100	[thread overview]
Message-ID: <m3d67bas4l.fsf@averell.firstfloor.org> (raw)
In-Reply-To: <1yz3a-k2-33@gated-at.bofh.it> (Bart Oldeman's message of "Thu, 11 Mar 2004 15:10:25 +0100")

Bart Oldeman <bartoldeman@users.sourceforge.net> writes:

>  			return -EPERM;
> --- include/asm-i386/mman.h~	Sat Oct 25 19:42:58 2003
> +++ include/asm-i386/mman.h	Thu Mar 11 13:37:33 2004
> @@ -22,6 +22,7 @@
>  #define MAP_NORESERVE	0x4000		/* don't check for reservations */
>  #define MAP_POPULATE	0x8000		/* populate (prefault) pagetables */
>  #define MAP_NONBLOCK	0x10000		/* do not block on IO */
> +#define MAP_DONTEXPAND	0x20000		/* do not allow mremap to expand */

*always* when you change something in asm-i386 check if other architectures
need changing too. Your patch would break compilation for everybody !i386

-Andi


       reply	other threads:[~2004-03-11 14:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1yz3a-k2-33@gated-at.bofh.it>
2004-03-18  0:58 ` Andi Kleen [this message]
2004-03-11 15:22   ` Bart Oldeman
2004-03-11 14:03 Bart Oldeman

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=m3d67bas4l.fsf@averell.firstfloor.org \
    --to=ak@muc.de \
    --cc=bartoldeman@users.sourceforge.net \
    --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®