mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andy Lutomirski <luto@amacapital.net>
To: Alexander Kuleshov <alex0xax@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: x86_64: Question about fixmaps
Date: Tue, 14 Apr 2015 17:28:46 -0700	[thread overview]
Message-ID: <552DB0BE.5020305@amacapital.net> (raw)
In-Reply-To: <CAFkLPWHg-AO2x-kFfHaw7ZP=w_Lq+pUST3a0Nm9o0G3eQWUk=w@mail.gmail.com>

On 04/14/2015 06:16 AM, Alexander Kuleshov wrote:
> Hello All,
>
> I'm reading x86_64 source code and trying to understand where are
> fixmaps space in the virtual memory space. If I understand correctly
> (but i'm really not sure about it), fixmap space is after vsyscall
> space. As Documentation/x86/x86_64/mm.txt says vsyscall virtual space
> is:
>
> ffffffffff600000 - ffffffffffdfffff (=8 MB) vsyscalls
>
> With 'earlyprintk' i got FIXADDR_START and FIXADDR_TOP and they are:
>
> FIXADDR_START -  0xffffffffff779000L
> FIXADDR_TOP     -  0xffffffffff7ff000L
>
> with these addressess FIXADDR_START/FIXADDR_TOP overlap vsyscalls
> area. Is it correct case that fixmaps are in vsyscal virtual memory
> space or I'm wrong somewhere?

It's the other way around.  vsyscalls are in the fixmap.  I should fix 
the docs.

--Andy

      reply	other threads:[~2015-04-15  0:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-14 13:16 Alexander Kuleshov
2015-04-15  0:28 ` Andy Lutomirski [this message]

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=552DB0BE.5020305@amacapital.net \
    --to=luto@amacapital.net \
    --cc=alex0xax@gmail.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

all inboxes | Powered by JetHome®