mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Subject: [RFC PATCH 0/2] use gnuhash to speed up device/driver match
Date: Sat, 4 Mar 2017 08:12:41 +0100	[thread overview]
Message-ID: <20170304071241.GG4120@mail.ovh.net> (raw)

Hi,

	The following patch series use the gnu hash to speedup device/driver
	matching.

	String compare is slow so we will calculate at runtime a hash that we
	can compare quickly to speed up the match

	in a second step we could speed up this more by calculating the hash
	at compile time

The following changes since commit d92ed454107b4d6f0d30fa0271da191ae5911d18:

  Merge branch 'for-next/video' into next (2017-02-27 08:51:08 +0100)

are available in the git repository at:

  git://git.jcrosoft.org/barebox.git delivery/gnuhash

for you to fetch changes up to 5ede85afc958bdf488a3c5e56061e7f27c26cbc6:

  driver: generate hash at runtime to speed up device/driver matching (2017-03-01 03:49:34 +0800)

----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (2):
      driver: remove the const of struct platform_device_id *id_table
      driver: generate hash at runtime to speed up device/driver matching

 drivers/base/bus.c    | 16 ++++++++++------
 drivers/base/driver.c | 27 ++++++++++++++++++++++++++-
 include/driver.h      |  7 ++++++-
 3 files changed, 42 insertions(+), 8 deletions(-)

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2017-03-04  7:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-04  7:12 Jean-Christophe PLAGNIOL-VILLARD [this message]
2017-03-04  7:14 ` [PATCH 1/2] driver: remove the const of struct platform_device_id *id_table Jean-Christophe PLAGNIOL-VILLARD
2017-03-04  7:14   ` [PATCH 2/2] driver: generate hash at runtime to speed up device/driver matching Jean-Christophe PLAGNIOL-VILLARD
2017-03-06  8:11 ` [RFC PATCH 0/2] use gnuhash to speed up device/driver match Sascha Hauer

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=20170304071241.GG4120@mail.ovh.net \
    --to=plagnioj@jcrosoft.com \
    --cc=barebox@lists.infradead.org \
    /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