aboutsummaryrefslogtreecommitdiff
path: root/fs/stack.c
diff options
context:
space:
mode:
authorDawei Li2023-12-31 16:12:25 +0900
committerGreg Kroah-Hartman2024-01-05 15:18:28 +0100
commit052b41ef2abe274f068e892aee81406f11bd1f3a (patch)
treeb0f58baeacfd2b5769ab05f6078c4e3e7b47ab69 /fs/stack.c
parent264547e13f80437a05f4f28fb636898750a3c644 (diff)
ksmbd: Implements sess->rpc_handle_list as xarray
[ Upstream commit b685757c7b08d5073046fb379be965fd6c06aafc ] For some ops on rpc handle: 1. ksmbd_session_rpc_method(), possibly on high frequency. 2. ksmbd_session_rpc_close(). id is used as indexing key to lookup channel, in that case, linear search based on list may suffer a bit for performance. Implements sess->rpc_handle_list as xarray. Signed-off-by: Dawei Li <set_pte_at@outlook.com> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions