linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
To: linux-hotplug@vger.kernel.org
Subject: Re: [PATCH] udevd: fix WAIT_FOR_SYSFS
Date: Sat, 25 Oct 2008 17:57:28 +0000	[thread overview]
Message-ID: <49035E08.1080903@tuffmail.co.uk> (raw)
In-Reply-To: <4900C46A.7070501@tuffmail.co.uk>

Kay Sievers wrote:
> On Sat, Oct 25, 2008 at 18:19, Alan Jenkins <alan-jenkins@tuffmail.co.uk> wrote:
>   
>> Kay Sievers wrote:
>>     
>
>   
>>> Also the snprintf() that was used compose the buffer to pass the event
>>> to a socket was _very_ expensive. We just use strlcpy() now and cache
>>> the result for the next RUN+="socket:" call.
>>>       
>> I might adapt that for udev-exec.
>>
>> But I think it needs a flag like envp_uptodate, no?
>>     
>
> It uses monitor_buf_len, which is reset to 0, if a property gets
> changed. Is that what you mean?
>
> Kay
>   

Sneaky.  Yes, that's what I was looking for.

      parent reply	other threads:[~2008-10-25 17:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-23 18:37 [PATCH] udevd: fix WAIT_FOR_SYSFS Alan Jenkins
2008-10-23 19:03 ` Kay Sievers
2008-10-23 19:12 ` Kay Sievers
2008-10-23 19:56 ` Alan Jenkins
2008-10-25 13:33 ` Kay Sievers
2008-10-25 16:19 ` Alan Jenkins
2008-10-25 17:19 ` Alan Jenkins
2008-10-25 17:46 ` Kay Sievers
2008-10-25 17:48 ` Kay Sievers
2008-10-25 17:57 ` Alan Jenkins [this message]

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=49035E08.1080903@tuffmail.co.uk \
    --to=alan-jenkins@tuffmail.co.uk \
    --cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).