Try exact-match comparison ahead of case-insensitive match
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest2 patches 3 repliesIn review
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dcache: Expose dentry_string_cmp outside of dcachefs/ include/ | +53 | 6 replies | |
| 2/2 | libfs: Attempt exact-match comparison first during casefold lookupfs/ | +22 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/2] Try exact-match comparison ahead of case-insensitive match
Linus, Al, Eric,
This small series implement the exact-match comparison ahead of the case-insensitive comparison as suggested by Linus. The first patch only exposes dentry_string_cmp in a header file so we can use it instead of memcmp and the second actually do the optimization in the case-insensitive comparison code.
Gabriel Krisman Bertazi (2):
dcache: Expose dentry_string_cmp outside of dcache
libfs: Attempt exact-match comparison first during casefold lookup
fs/dcache.c | 53 ------------------------------------------ fs/libfs.c | 39 +++++++++++++++++-------------- include/linux/dcache.h | 53 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+), 70 deletions(-)
Signature · 1 line
2.43.0