summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_file.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2019-03-09 01:29:58 +0100
committerDavid S. Miller <davem@davemloft.net>2019-03-09 03:24:53 +0100
commit69ffaebb90369ce08657b5aea4896777b9d6e8fc (patch)
tree3c25e582f882c928651fd787ad2d13f8894d2ad5 /include/drm/drm_file.h
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf (diff)
downloadlinux-69ffaebb90369ce08657b5aea4896777b9d6e8fc.tar.xz
linux-69ffaebb90369ce08657b5aea4896777b9d6e8fc.zip
rxrpc: Fix client call queueing, waiting for channel
rxrpc_get_client_conn() adds a new call to the front of the waiting_calls queue if the connection it's going to use already exists. This is bad as it allows calls to get starved out. Fix this by adding to the tail instead. Also change the other enqueue point in the same function to put it on the front (ie. when we have a new connection). This makes the point that in the case of a new connection the new call goes at the front (though it doesn't actually matter since the queue should be unoccupied). Fixes: 45025bceef17 ("rxrpc: Improve management and caching of client connection objects") Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: Marc Dionne <marc.dionne@auristor.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/drm/drm_file.h')
0 files changed, 0 insertions, 0 deletions