public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Evgeniy Polyakov <zbr@ioremap.net>
To: Hubert Feurstein <h.feurstein@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] w1: add fast search for single slave bus
Date: Mon, 28 Nov 2011 23:24:14 +0300	[thread overview]
Message-ID: <20111128202414.GA11903@ioremap.net> (raw)
In-Reply-To: <1322510807-3247-1-git-send-email-h.feurstein@gmail.com>

Hi

On Mon, Nov 28, 2011 at 09:06:47PM +0100, Hubert Feurstein (h.feurstein@gmail.com) wrote:
> This enables a much more efficient way of device searching. It uses the
> 1-wire read-rom operation which allows the direct reading of the slave
> address. BUT this works only with exactly one slave on the bus.

Although idea may sound resonable, kernel is shipped with only one
compiled option, and it is quite uncommon to recompile them.
So this option will unlikely to be enabled. I would recommend to add
either a module parameter to forbid multiple slave devices and use fast
search, or use fast search when only one device exists and switch to
common search when it fails (if it is possible to detect that there are
multiple devices on the bus using fast search)

-- 
	Evgeniy Polyakov

  reply	other threads:[~2011-11-28 20:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-28 20:06 [PATCH] w1: add fast search for single slave bus Hubert Feurstein
2011-11-28 20:24 ` Evgeniy Polyakov [this message]
2011-12-03 14:46 ` Jean-François Dagenais
2011-12-04 16:46   ` [PATCH v2] " Hubert Feurstein
2011-12-05 12:29     ` Evgeniy Polyakov
2011-12-10  0:00       ` Greg KH
2011-12-10  1:36         ` Evgeniy Polyakov

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=20111128202414.GA11903@ioremap.net \
    --to=zbr@ioremap.net \
    --cc=h.feurstein@gmail.com \
    --cc=linux-kernel@vger.kernel.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