Google
  Web www.spinics.net

Re: TLB Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


hadling tlb is architecture specific thing, so its better to search
the manuals of corresponding processor to find out appropriate
instructions to manipulate TLB entries.
AFAI can recall INVLPG is used to invalidate specific pte in TLB.

regards,
mahaveer darade

On 2/5/08, sahlot arvind <asahlot@xxxxxxxxx> wrote:
> >AFAIK, by using certain instructions...you can manually insert
> >entry/entries to TLB. Same thing to deleting TLB entries.
>
> Yes you can insert/delete entries in TLB manually. Though I am not sure but
> AFAIK, linux kernel does do this.
> Please correct if I am wrong.
>
> Regards
>
>
> On 2/5/08, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> wrote:
> >
> > Hi...
> >
> > On 2/5/08, sahlot arvind <asahlot@xxxxxxxxx> wrote:
> >
> > > TLB entries are filled by H/W and not explicitly by kernel. Whenever MMU
> > > translates VA to PA it caches that translation into TLB. If TLB is full
> > then
> > > MMU uses its own algorithms to replace some entry in TLB e.g. MMU might
> > > consider TLB as circular buffer and replace first entry once TLB is
> > full.
> >
> > AFAIK, by using certain instructions...you can manually insert
> > entry/entries to TLB. Same thing to deleting TLB entries. This kind of
> > technique is used for example on security related software such as
> > PaX/grsecurity
> >
> > regards,
> >
> > Mulyadi.
> >
>


-- 
---------------------------
Thanks & Regards,
Mahaveer Darade
mah.darade@xxxxxxxxx
Mobile - 9970365267


--- Dream it , Code it.

---The "silly question" is the first intimation of some totally new development
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

[Site Home]     [Audio]     [Hams]     [Kernel Newbies]     [Memory]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linux Resources]     [Fedora Users]

  Powered by Linux