Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

startup before syscalls?

0 views
Skip to first unread message

Adrian Kubala

unread,
May 7, 2005, 9:49:06 PM5/7/05
to
How should we make sure that the system is finished starting up before
it tries to handle syscalls? I sort of hoped the code would handle that
automatically but it looks like it doesn't. I guess I'll have to block
any process that tries to do IO before startup is finished, and then
unblock them all?

Yiu Fai Sit

unread,
May 8, 2005, 1:13:58 AM5/8/05
to

It should be similar to waiting to read a page that's not in the buffer
cache yet.

Sit

Adrian Kubala

unread,
May 9, 2005, 6:52:31 PM5/9/05
to
Adrian Kubala <adria...@sixfingeredman.net> schrieb:

> How should we make sure that the system is finished starting up before
> it tries to handle syscalls?

I think I was wrong and the system does indeed handle this
automatically. It looks like the way the scheduler works, it is
guaranteed to handle all the startup IO before it reads any instructions
at all, so all the syscalls can assume that the superblock etc. are
loaded. Sweet.

0 new messages