Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!

Comments

top

The Really Fair Scheduler

paropaco Re:Does it... (199 comments)

Unless, of course, you unlink its executable file, in which case it allocates swap to hold the file first.

Why doesn't it just take into account the fact that the file is in execution in its reference count and leave the file where it is on the file system until it terminates? "unlink" only decrements the reference count, it does not free the file. Seems much simpler to me.

In addition, if it does as you say, FreeBSD does not just need to allocate the swap to hold the file, it actually needs to take every page from the executable file that has not yet been loaded in memory and actually copy it to the swap. Where's the coolness in that?

By the way, I didn't find the paragraph which lead you to that that's how it does in there.

more than 7 years ago

Submissions

paropaco hasn't submitted any stories.

Journals

paropaco has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?