linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6]  ksmbd: Minor performance improvement & code cleanup
@ 2023-01-15 10:32 Dawei Li
  2023-01-17 15:07 ` Namjae Jeon
  0 siblings, 1 reply; 2+ messages in thread
From: Dawei Li @ 2023-01-15 10:32 UTC (permalink / raw)
  To: linkinjeon, sfrench; +Cc: senozhatsky, tom, hyc.lee, linux-cifs, linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 0/6] ksmbd: Minor performance improvement & code cleanup
  2023-01-15 10:32 [PATCH 0/6] ksmbd: Minor performance improvement & code cleanup Dawei Li
@ 2023-01-17 15:07 ` Namjae Jeon
  0 siblings, 0 replies; 2+ messages in thread
From: Namjae Jeon @ 2023-01-17 15:07 UTC (permalink / raw)
  To: Dawei Li; +Cc: sfrench, senozhatsky, tom, hyc.lee, linux-cifs, linux-kernel

2023-01-15 19:32 GMT+09:00, Dawei Li <set_pte_at@outlook.com>:
> 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.
except 0005 patch, Acked-by: Namjae Jeon <linkinjeon@kernel.org>

Thanks for your patch!
>
> 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
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-17 15:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-15 10:32 [PATCH 0/6] ksmbd: Minor performance improvement & code cleanup Dawei Li
2023-01-17 15:07 ` Namjae Jeon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).