[PATCH 3.18 076/104] rsi: improve kernel thread handling to fix kernel panic