Skip to contentSkip to conversation

MMU & VM

Q Graffiti 4 participants 4 messages Sep 4, 1998 – Sep 18, 1998 1 message not in the archive Memory management

lore
Share & tools
lore

Graffiti

author
#0 lore raw

Hi all,

Before I ask my question, just to let you know, yes, I did look
for information on the web and various books to see if I could answer this myself. Alas, no luck. Anyways, here goes:

Just how does an MMU work, and why do we need it to implement
virtual memory instead of handling it all in the kernel?

I've found quite a few texts on how VM works, but never why we
need an MMU or what an MMU does.

Can anyone recommend a good book on this?

-- DN (Learning 68000 asm as we speak. Now, for the Mac SE specs...) --
This is a majordomo managed list. To unsubscribe, send a message with the body 'unsubscribe linux-mm me@address' to: [email protected]

#1 lore raw
Quoted 6 lines · Graffiti

Just how does an MMU work, and why do we need it to implement
virtual memory instead of handling it all in the kernel?
I've found quite a few texts on how VM works, but never why we
need an MMU or what an MMU does.

Can anyone recommend a good book on this?

Well, there's Tanenbaum's "Modern Operating Systems".

There's also a nice VM tutorial from CNE/CMU(?), which is linked to from the Linux-MM homepage, VM Links.

http://www.phys.uu.nl/~riel/mm-patch/

Rik.

--
This is a majordomo managed list. To unsubscribe, send a message with the body 'unsubscribe linux-mm me@address' to: [email protected]

#2 lore raw
In reply to Graffiti

I was compiling the 2.1.122 kernel on an Alpha box (LX164) and had this error pop up. Sounds like something you guys might recognize:

page_alloc.c: In function `__free_page':
page_alloc.c:169: internal error--unrecognizable insn:
(jump_insn 274 270 275 (return) -1 (nil)

    (nil))

gcc: Internal compiler error: program cc1 got fatal signal 6 make[2]: *** [page_alloc.o] Error 1
make[1]: *** [first_rule] Error 2
make: *** [_dir_mm] Error 2
{standard input}: Assembler messages:
{standard input}:178: Warning: Missing .end or .bend at end of file
cpp: output pipe has been closed

If you need more info, please just say the word. Thanks!

----------------------------------
Ed Stafford
iXL Hosting Programming Engineer
E-Mail: [email protected]
----------------------------------
--
This is a majordomo managed list. To unsubscribe, send a message with the body 'unsubscribe linux-mm me@address' to: [email protected]

#4 lore raw
In reply to a message not in the archive
Quoted 15 lines · [email protected] writes:

I was compiling the 2.1.122 kernel on an Alpha box (LX164) and had this error pop up. Sounds like something you guys might recognize:

page_alloc.c: In function `__free_page':
page_alloc.c:169: internal error--unrecognizable insn:
(jump_insn 274 270 275 (return) -1 (nil)

    (nil))

gcc: Internal compiler error: program cc1 got fatal signal 6 make[2]: *** [page_alloc.o] Error 1
make[1]: *** [first_rule] Error 2
make: *** [_dir_mm] Error 2
{standard input}: Assembler messages:
{standard input}:178: Warning: Missing .end or .bend at end of file
cpp: output pipe has been closed

Quoted 2 lines

If you need more info, please just say the word. Thanks!

Something like that has already been reported and it looks like older egcs compilers have trouble with __builtin_return_address construct.

Either update your egcs, or #define __builtin_return_address(x) (0)

Hope it helps.

Signature · 6 lines
Posted by Zlatko Calusic           E-mail: <[email protected]>
---------------------------------------------------------------------
Unix Wizard: Someone who can type `cat > /vmunix` and get away with it!
--
This is a majordomo managed list.  To unsubscribe, send a message with
the body 'unsubscribe linux-mm me@address' to: [email protected]