The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] Irix on MIPS -- was kernel mode paged
@ 2019-11-21 21:11 ron minnich
  2019-11-22  3:24 ` Warner Losh
  0 siblings, 1 reply; 3+ messages in thread
From: ron minnich @ 2019-11-21 21:11 UTC (permalink / raw)
  To: TUHS main list

I'm looking for a reference to any Unix ports where the kernel ran in
a non-paged address space and  user mode was paged. I could swear this
was done at some point, and memory says it was on a soft-TLB system
like the MIPS, to avoid TLB pollution and TLB fault overhead.

But maybe I'm nuts. I am happy to hear either answer.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [TUHS] Irix on MIPS -- was kernel mode paged
  2019-11-21 21:11 [TUHS] Irix on MIPS -- was kernel mode paged ron minnich
@ 2019-11-22  3:24 ` Warner Losh
  2019-11-25 19:12   ` ron minnich
  0 siblings, 1 reply; 3+ messages in thread
From: Warner Losh @ 2019-11-22  3:24 UTC (permalink / raw)
  To: ron minnich; +Cc: TUHS main list

[-- Attachment #1: Type: text/plain, Size: 560 bytes --]

On Thu, Nov 21, 2019, 2:12 PM ron minnich <rminnich@gmail.com> wrote:

> I'm looking for a reference to any Unix ports where the kernel ran in
> a non-paged address space and  user mode was paged. I could swear this
> was done at some point, and memory says it was on a soft-TLB system
> like the MIPS, to avoid TLB pollution and TLB fault overhead.
>
> But maybe I'm nuts. I am happy to hear either answer.
>

Mips had KSEG0 which didn't go through TLB and was mapped to physical
memory.  Some MIPS kernels ran in this space to avoid TLB issues...

Warner

>

[-- Attachment #2: Type: text/html, Size: 1125 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [TUHS] Irix on MIPS -- was kernel mode paged
  2019-11-22  3:24 ` Warner Losh
@ 2019-11-25 19:12   ` ron minnich
  0 siblings, 0 replies; 3+ messages in thread
From: ron minnich @ 2019-11-25 19:12 UTC (permalink / raw)
  To: Warner Losh; +Cc: TUHS main list

Ah thinks Warner, that was exactly what I was trying to recall.

And I am reminded as well how overloaded the term 'paged' is ... but
yeah, in this case, I was looking for examples where the kernel ran
with essentially no mmu but user programs did.

Note that on Alpha there was an identity mapped space with no MMU as
well but that was only for PAL mode and firmware that used PAL mode
(like LinuxBIOS).

On modern systems we have RISC-V with the no MMU M mode, and I just
got to thinking that running a kernel in M mode would be "what's old
is new again" :-)

Thanks


On Thu, Nov 21, 2019 at 7:24 PM Warner Losh <imp@bsdimp.com> wrote:
>
>
>
> On Thu, Nov 21, 2019, 2:12 PM ron minnich <rminnich@gmail.com> wrote:
>>
>> I'm looking for a reference to any Unix ports where the kernel ran in
>> a non-paged address space and  user mode was paged. I could swear this
>> was done at some point, and memory says it was on a soft-TLB system
>> like the MIPS, to avoid TLB pollution and TLB fault overhead.
>>
>> But maybe I'm nuts. I am happy to hear either answer.
>
>
> Mips had KSEG0 which didn't go through TLB and was mapped to physical memory.  Some MIPS kernels ran in this space to avoid TLB issues...
>
> Warner

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-11-25 19:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-21 21:11 [TUHS] Irix on MIPS -- was kernel mode paged ron minnich
2019-11-22  3:24 ` Warner Losh
2019-11-25 19:12   ` ron minnich

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).