Erin πŸ•― is a user on social.mecanis.me. You can follow them or interact with them if you have an account anywhere in the fediverse.
Erin πŸ•― @er1n

i need resources on memory management in microkernels, anyone have pointers

Β· Web Β· 25 Β· 30

OH MY GOD I JUST REALIZED THIS IS A FUKCING JOKE AND I HATE IT

i made this post and it's a stupid joke and it wasn't even intentional i swear!!!

@er1n (i love the choice of example in this:

"Thus, it is well settled that persons engaged in any undertakings outside what is common for a normal person, such as running a nuclear power plant,")

@er1n if it helps any i never parsed it as a joke until you mentioned it because i've never used memory pointers for anything

@aaronscientiae i DIDN'T MEAN TO MAKE A JOKE I SWEAR

@er1n oh. Sorry. then i guess check out code of what people have done before theres gotta be some good examples in os courses textbooks or look up some open courseware texts?

@er1n also probably buried in the descriptions of and changes recently to linux regarding meltdown and spectre might be useful.

@er1n To run the joke into the ground...

0x00158000000000000A8BC022E900023F with tag bits set.

(And yes, that's a real pointer. That I just copied off of a running system.)

@bhtooefr @er1n I don't think i counts as a microkernel (and does it point to anything particularly important?)

@samis @er1n AFAIK that's a bit... complicated, it has a lot of microkernel concepts even if enough is implemented down in SLIC for it to not /really/ be a microkernel. Message passing all the things is absolutely part of it.
(Kinda like how PowerPC is arguably not really RISC, but it uses a lot of RISC concepts.)

And... yes, it points to something important. (The address is also going to be unique to a given OS install.)

@er1n did you get a good answer? I like the seL4 philosophy on memory management: there's a way for one task to transfer ownership of some physical pages to another task; paging is handled in userspace somehow (?); and when a task wants some service from either the kernel or some userspace server where completing the task requires some extra memory, then the client transfers ownership of enough pages over out of its own allocation, so trusted code never runs out of memory.

@er1n LOL sounds like a #dadjoke as told by Dennis Richie 😝

@er1n gods I almost can't tell if this is just a pun or you actually want resources

*claps*

@er1n here's some stuff below, but in general I think all microkernels do is allocate anonymous chunks of memory to applications running on them that request RAM, (where "application" is often the OS services and similar), and then its those processes jobs to do more management on it.

l4re.org/doc/l4re_concepts_ds_

gnu.org/software/hurd/open_iss

wiki.minix3.org/doku.php?id=de

os.inf.tu-dresden.de/papers_ps

@mmu_man yeah, it's a pretty good resource but it mostly focuses on small monolithic kernels :(

i ended up finding what i was looking for, anyway, though! thanks for replying seriously though, instead of pointing out that i accidentally made a joke :D