[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20111112183735.333b747f@infradead.org>
Date: Sat, 12 Nov 2011 18:37:35 -0800
From: Arjan van de Ven <arjan@...radead.org>
To: Xin Tong <xerox.time.tech@...il.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: INVLPG Instruction
On Sat, 12 Nov 2011 19:59:44 -0500
Xin Tong <xerox.time.tech@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists