linux extended: swap auto-discovery, mem-usage, template changes