From: Pavel Machek <pavel@ucw.cz>
To: Burman Yan <yan_952@hotmail.com>
Cc: kronos.it@gmail.com, linux-kernel@vger.kernel.org
Subject: HP disk protection Re: Remn Yan <yan_952@hotmail.com> ha scritto:
Date: Sat, 14 Oct 2006 10:26:08 +0200 [thread overview]
Message-ID: <20061014082608.GA3851@elf.ucw.cz> (raw)
In-Reply-To: <BAY20-F2590BB342DED17F10A6783D80A0@phx.gbl>
On Fri 2006-10-13 20:32:48, Burman Yan wrote:
> >From: Luca Tettamanti <kronos.it@gmail.com>
> >Burman Yan <yan_952@hotmail.com> ha scritto:
> >> I would like to hear your remarks on this version.
> >
> >> +static ssize_t mdps_calibrate_store(struct device *dev,
> >> + struct device_attribute *attr, const char *buf,
> >size_t count)
> >> +{
> >> + mdps_calibrate_mouse();
> >> + return count;
> >> +}
> >
> >No locking here?
>
> I don't want to lock it here, since the mouse polling kthread is heavy as
> it is.
> I'd rather report a wrong value of mouse position while recalibrating.
> The way I see it, if you're recalibrating your mouse, chances are you're
> not playing at the same precise millisecond. In my opinion it's worth more
> battery life.
Hmm, and are you sure it can't oops or something?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2006-10-14 8:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-13 13:10 [PATCH] HP mobile data protection system driver take 2 Burman Yan
2006-10-13 14:48 ` Pavel Machek
2006-10-13 15:15 ` Burman Yan
2006-10-13 16:58 ` Remn Yan <yan_952@hotmail.com> ha scritto: Luca Tettamanti
2006-10-13 18:32 ` Burman Yan
2006-10-14 8:26 ` Pavel Machek [this message]
2006-10-14 11:30 ` HP disk protection " Burman Yan
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=20061014082608.GA3851@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=kronos.it@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=yan_952@hotmail.com \
/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
all inboxes | Powered by JetHome®