]> 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)
commit5d8d8a10659fa4542e28f57f2fe246479cff5b8c
tree870be0f84564dbbc5ae82534bb6d98a2054ce865
parentc1b1cf61285d9c0943c23d3a1f97ce2e7711d5f1
Revert "SUNRPC: Micro-optimise when the task is known not to be sleeping"

This reverts commit 94e8d67a9e83c739dd573e88f372dedc7959989d.

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