Hibernate in Linux

1) How to enable Hibernate in Linux ?
2) Does compiling kernel from source code
alters the current setup of the kernel after implementation

Thx in advance,
siva.

1 - general answer, what OS ?
2 - yes.

1) RHEL
2) how to retain the previous setup of kernel before compiling new one ?

  1. I guess this helps then, but the first one should do as well.
  2. Consider putting values in /etc/sysctl.conf