All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: "michal.hrachovec@volny.cz" <michal.hrachovec@volny.cz>
Cc: stable@vger.kernel.org, regressions@lists.linux.dev
Subject: Re: mmap 0-th page
Date: Fri, 26 Jul 2024 12:54:36 +0200	[thread overview]
Message-ID: <2024072625-backache-component-5372@gregkh> (raw)
In-Reply-To: <3855f3cf-9c63-4498-853a-d3a0a2f47e7f@volny.cz>

On Fri, Jul 26, 2024 at 12:36:29PM +0200, michal.hrachovec@volny.cz wrote:
> Good afternoon,
> 
> I am trying to allocate the 0-th page with mmap function in my code.
> I am always getting this error with this error-code: mmap error ffffffff
> Then I was searching the internet for this topic and I have found the same
> topic at stackoverflow web pages.
> 
> Here I am sending the link:
> https://stackoverflow.com/questions/63790813/allocating-address-zero-on-linux-with-mmap-fails
> 
> I was setting value of |/proc/sys/vm/mmap_min_add to zero and using the root
> privileges along the link.
> And I am having the same problem still.
> 
> Can you help, please.

The stable and regressions mailing list is not the proper place for
this type of question, sorry.

If this is a regression from a previous kernel version, it might be the
place but you don't specify any kernel version information here.

best of luck!

greg k-h

  reply	other threads:[~2024-07-26 10:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-26 10:36 mmap 0-th page michal.hrachovec
2024-07-26 10:54 ` Greg KH [this message]
2024-07-31  7:39 ` Jiri Slaby
2024-07-31  7:43   ` Jiri Slaby

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=2024072625-backache-component-5372@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=michal.hrachovec@volny.cz \
    --cc=regressions@lists.linux.dev \
    --cc=stable@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.