* What's MMU context?
@ 1999-10-27 11:50 Wang Yong
1999-10-27 15:55 ` Dan Malek
0 siblings, 1 reply; 3+ messages in thread
From: Wang Yong @ 1999-10-27 11:50 UTC (permalink / raw)
To: linux-ppc; +Cc: linuxppc embedded mail list
as the source code of linuxPPC, there is a global variable named
next_mmu_context which is increased by one at each time of create a new
process. what does this mean and what is mmu context? it appears there
is not any mmu context in i386.
Wang
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What's MMU context?
1999-10-27 11:50 Wang Yong
@ 1999-10-27 15:55 ` Dan Malek
0 siblings, 0 replies; 3+ messages in thread
From: Dan Malek @ 1999-10-27 15:55 UTC (permalink / raw)
To: wung_y; +Cc: linux-ppc, linuxppc embedded mail list
Wang Yong wrote:
>
> as the source code of linuxPPC, there is a global variable named
> next_mmu_context which is increased by one at each time of create a new
> process. what does this mean and what is mmu context?
I intened to use it on the 8xx processors, as they have an address
space id that allows a TLB optimization so you don't have to
invalidate the entire TLB on context switches. I assume the
MIPS folks use it as well, since that is where I first used
such an optimization (in an OS other than Linux). Unfortunately,
the ratio of entries to ASIDs is wrong for my original MIPS-like
algorithm to work, and I never got around to writing something
new.
This was already part of the Linux/PPC port when I started the 8xx
work, and I don't know if other processors use it or if it was
just part of the generic port that was maintained.
-- Dan
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What's MMU context?
@ 1999-10-28 4:42 Wang Yong
0 siblings, 0 replies; 3+ messages in thread
From: Wang Yong @ 1999-10-28 4:42 UTC (permalink / raw)
To: linuxppc embedded mail list
Dan Malek wrote:
> I intened to use it on the 8xx processors, as they have an address
> space id that allows a TLB optimization so you don't have to
> invalidate the entire TLB on context switches. I assume the
is this context contained in TLB entry? if yes, do you mean the
entries
belong to other processes other the current one should not be replaced
because it contains the integer ID named context?
the TLB Entry of PPC401D2 contains lower 8 bit of PID. so it doesn't
need to flush all entries out when processing task switch. taking this
into consider, if context of MMU is not useful any more?
Thank you.
Wang
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-10-28 4:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-28 4:42 What's MMU context? Wang Yong
-- strict thread matches above, loose matches on Subject: below --
1999-10-27 11:50 Wang Yong
1999-10-27 15:55 ` Dan Malek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).