mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjan@infradead.org>
To: Xin Tong <xerox.time.tech@gmail.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: INVLPG Instruction
Date: Sat, 12 Nov 2011 18:37:35 -0800	[thread overview]
Message-ID: <20111112183735.333b747f@infradead.org> (raw)
In-Reply-To: <CALKntY3ivYxMzuaq0BwXO_uX=w+_wneaNV6zCGo0ZeAZWm54Sw@mail.gmail.com>

On Sat, 12 Nov 2011 19:59:44 -0500
Xin Tong <xerox.time.tech@gmail.com> wrote:

> Hello
> 
>   When a process has a page fault and Linux swaps out a page ( no more
> free page ) from another process and give it to the page-faulting
> process. Typically a INVLPG is used to invalidate entries  in the TLB.
> I would like to know whether INVLPG is global ( i.e. across all cores
> )? How does the process which Linux stole the page from get informed (
> how is its tlb invalidated) ?

invlpg is not "global" in the way you mean it (nor in the sense of
"global pte's").
The kernel will do an IPI to the processors that have a possibility to
have this page in the TLB and do a local flush there.



-- 
Arjan van de Ven 	Intel Open Source Technology Centre
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org

      reply	other threads:[~2011-11-13  2:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-13  0:59 Xin Tong
2011-11-13  2:37 ` Arjan van de Ven [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=20111112183735.333b747f@infradead.org \
    --to=arjan@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xerox.time.tech@gmail.com \
    /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®