Do we need tlbsx at finish_tlb_load?

Dan Malek dan at embeddededge.com
Tue Jun 4 10:19:32 EST 2002


David Gibson wrote:

> Ok, not seeing any replies here.  If no-one speaks up for this tlbsx
> in the next couple of days, I'll remove it from 2_4_devel.

Some of us (fortunately) have a life outside of kernel hacking, so
it takes time to reply.

An instuction TLB miss will load the TLB with a PTE that indicates it isn't
valid.  A subsequent TLB instruction fault to load the page will cause a
data tlb miss to copy the page, and when you fix up this entry to allow a
write, you don't want to create an alias in the TLB.

If you remove the tlbsx, you can see this happen when init starts and you
dump the TLB after every type of TLB fault while it is starting.


	-- Dan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list