Makefile: Apply some optimizations

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
Makefile: Adjust L2 cache size optimization

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
net: netfilter: Force no unsafe math optimizations

GCC spouts some weird segmentation fault.

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
Revert "ghost: Huge update"

This reverts commit 67bda9f62e0a0533e7787f2fc8db87a1edd3422c.

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
Fix all GCC optimization errors

* *Maybe* uninitialized variables covered with uninitialized_var().
  I'm pretty sure they are all initialized at some point, after
  taking a quick look at the code.
* Array subscripts below/above array bounds is covered with checks.
  REALLY unnecessary and costly but needed to keep GCC happy. :(

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
ghost: Some updates

- Disable userspace, enable conservative governor
- Disable EXT2 and EXT3
- Disable useless ramdisk compression methods

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>