tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: unconfiguring swap at shutdown



On Aug 31,  3:32pm, mrg%eterna.com.au@localhost (matthew green) wrote:
-- Subject: re: unconfiguring swap at shutdown

|    The following patch removes swap devices at shutdown. This is useful for
|    example when typing reboot and having a raidframe partition... Comments?
| 
| 
| please don't do this by default.
| 
| i don't mind moving the stuff to swapoff out of rc.d into the kernel
| but please don't change the default.  it can be very slow in common
| cases...

Kernel option? Sysctl? Are you sure it is slow (and do you know
why it is slow)? Because at that time there are no processes left,
and from my experience unmounting filesystems with a lot of unwritten
data is a lot slower, or it appears to be.

christos


Home | Main Index | Thread Index | Old Index