Revert "SUNRPC: Micro-optimise when the task is known not to be sleeping"
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 11 Apr 2019 19:16:52 +0000 (15:16 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 11 Apr 2019 19:41:14 +0000 (15:41 -0400)
commitaf6b61d7ef58099c82d854395a0e002be6bd036c
tree870be0f84564dbbc5ae82534bb6d98a2054ce865
parent0769663b4f580566ef6cdf366f3073dbe8022c39
Revert "SUNRPC: Micro-optimise when the task is known not to be sleeping"

This reverts commit 009a82f6437490c262584d65a14094a818bcb747.

The ability to optimise here relies on compiler being able to optimise
away tail calls to avoid stack overflows. Unfortunately, we are seeing
reports of problems, so let's just revert.

Reported-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/sunrpc/sched.h
net/sunrpc/clnt.c