[PATCH 4.4 119/168] rsi: improve kernel thread handling to fix kernel panic