[krbdev.mit.edu #9161] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Thu Feb 6 18:43:47 EST 2025


Thu Feb 06 18:43:47 2025: Request 9161 was acted upon.
 Transaction: Ticket created by ghudson at mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson at mit.edu
  Requestors: 
      Status: new
 Ticket <URL: https://mv-ezproxy-com.ezproxyberklee.flo.org/rt/Ticket/Display.html?id=9161 >



Improve ulog block resize efficiency

When it is necessary to increase the ulog block size, copy the
existing entries instead of reinitializing the log.

[ghudson at mit.edu: added test case; renamed and split INDEX() to avoid
duplication; added sync_ulog() helper; modified copying loop for
clarity; edited commit message]

https://github.com/krb5/krb5/commit/197ddd4196a3049cd17d29d1c8f0af1424472956
Author: Zoltan Borbely <Zoltan.Borbely at morganstanley.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 197ddd4196a3049cd17d29d1c8f0af1424472956
Branch: master
 src/include/kdb_log.h | 20 ++++++++++-----
 src/kprop/kproplog.c  |  2 +-
 src/lib/kdb/kdb_log.c | 68 +++++++++++++++++++++++++++++++++++----------------
 src/tests/t_iprop.py  | 30 +++++++++++++++++++++--
 4 files changed, 90 insertions(+), 30 deletions(-)



More information about the krb5-bugs mailing list