Dear =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=, In message <[email protected]> you wrote: > > This patch adds a new config parameter for adjusting the calculation of > hash table size when importing a buffer. > > When importing a extremely small buffer (e.g. the default_environment) > the old calculation generated a hash table which could hold at most the > buffer content but no more entires. > > The new calculation add a fixed number of entries to the result to fit > better for small import buffers. This amount may be configured by the > user in board file to adjust the behaviour. > > Signed-off-by: Andreas Bießmann <[email protected]> > --- > v2: implement as suggested by Wolfgang > > lib/hashtable.c | 12 ++++++++---- > 1 files changed, 8 insertions(+), 4 deletions(-)
Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] The human race is faced with a cruel choice: work or daytime tele- vision. _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

