From: Dawei Li <set_pte_at@outlook.com>
To: linkinjeon@kernel.org, sfrench@samba.org
Cc: senozhatsky@chromium.org, tom@talpey.com, hyc.lee@gmail.com,
linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/6] ksmbd: Minor performance improvement & code cleanup
Date: Sun, 15 Jan 2023 18:32:03 +0800 [thread overview]
Message-ID: <TYCP286MB23239EE29037F6051CFE5691CAC09@TYCP286MB2323.JPNP286.PROD.OUTLOOK.COM> (raw)
It's a small series mostly aimed at performance improvement and code
cleanup.
Among which, First three ones are performance related commits, and
other ones are minor code cleanup.
1 & 2: list => xarray, acclerating index based lookup.
3: rwlock => rcu primitive, enabling write & read concurrency.
4: Simple duplicated code removal.
5: Minor code rework and exception handling.
6: Simple typo fix.
Dawei Li (6):
ksmbd: Implements sess->ksmbd_chann_list as xarray
ksmbd: Implements sess->rpc_handle_list as xarray
ksmbd: replace rwlock with rcu for concurrenct access on conn list
ksmbd: Remove duplicated codes
ksmbd: improve exception handling and avoid redundant sanity check in
loop
ksmbd: fix typo, syncronous->synchronous
fs/ksmbd/asn1.c | 19 ++++---
fs/ksmbd/connection.c | 54 +++++++++++---------
fs/ksmbd/connection.h | 1 -
fs/ksmbd/ksmbd_work.h | 2 +-
fs/ksmbd/mgmt/user_session.c | 98 ++++++++++++++----------------------
fs/ksmbd/mgmt/user_session.h | 6 +--
fs/ksmbd/smb2pdu.c | 52 ++++++-------------
7 files changed, 93 insertions(+), 139 deletions(-)
--
2.25.1
next reply other threads:[~2023-01-15 10:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-15 10:32 Dawei Li [this message]
2023-01-17 15:07 ` Namjae Jeon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=TYCP286MB23239EE29037F6051CFE5691CAC09@TYCP286MB2323.JPNP286.PROD.OUTLOOK.COM \
--to=set_pte_at@outlook.com \
--cc=hyc.lee@gmail.com \
--cc=linkinjeon@kernel.org \
--cc=linux-cifs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=senozhatsky@chromium.org \
--cc=sfrench@samba.org \
--cc=tom@talpey.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®