From: Pavel M. <pa...@su...> - 2002-09-08 20:42:24
|
Hi! > > From: Patrick Mochel [mailto:mo...@os...] > > [1] Once upon a time (last May), I implemented a patch that > > overloaded the > > reboot(2) system call to initiate suspend transitions in a > > platform-specific manner (as per Linus's suggestion). This is in the > > resurrection queue and will probably resurface soon. > > Hmm. > > Maybe it would be cleaner to give sleep its own system call. > > Having reboot(2) overloaded with suspend functionality is a little > non-intuitive. Just a thought. No, thats okay. We do not want new system call for this. suspend-to-disk already has reboot interface. It just fits there well. Pavel -- Casualities in World Trade Center: ~3k dead inside the building, cryptography in U.S.A. and free speech in Czech Republic. |