added swap patch for better swap management

Signed-off-by: neo2shyalien <neo2shyalien@jmuda>