]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit364bd0f7f51d29dd12eacc596a007b89e19b0e53
tree870be0f84564dbbc5ae82534bb6d98a2054ce865
parent24df9c22aec7403dd8e2f2756e9d9326ff1947ee
Revert "SUNRPC: Micro-optimise when the task is known not to be sleeping"

This reverts commit ec497e55040db925c488a717bdcdcf590c7b8f8e.

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