From: Andi Kleen <ak@muc.de>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Andi Kleen <ak@muc.de>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] nanosecond resolution for stat(2)
Date: Mon, 23 Sep 2002 22:05:32 +0200 [thread overview]
Message-ID: <20020923220532.38086@colin.muc.de> (raw)
In-Reply-To: <Pine.LNX.4.33.0209231154520.3512-100000@penguin.transmeta.com>; from Linus Torvalds on Mon, Sep 23, 2002 at 08:57:32PM +0200
On Mon, Sep 23, 2002 at 08:57:32PM +0200, Linus Torvalds wrote:
>
> On Mon, 23 Sep 2002, Andi Kleen wrote:
> >
> > Some drivers (like mouse drivers or tty) do dubious inode [mac] time
> > accesses of the on disk inode and without even marking it dirty. This is
> > likely a bug.
>
> No, it is intentional. At least some versions of "w" (maybe all) will use
> the tty access times to judge how long the tty has been idle. The point is
> that this is all information that is interesting (and useful), but not
> worth sending to disk - it is useful only as long as the inode remains
> locked in-core for other reasons, ie being in use.
>
> (It's not only "not worth it" to send to disk, but it would be positively
> wrong to even _try_ updating the disk with the access times, since we want
> these things to work even with a read-only /dev).
Ok. But it is surely not needed for mouse drivers, isn't it ?
(I removed a few updates in them)
I didn't change tty in this regard anyways.
Would you consider to merge the patch ?
-Andi
next prev parent reply other threads:[~2002-09-23 20:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20020923184705.GA8195@averell>
2002-09-23 18:57 ` Linus Torvalds
2002-09-23 20:05 ` Andi Kleen [this message]
2002-09-24 6:51 ` Kai Henningsen
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=20020923220532.38086@colin.muc.de \
--to=ak@muc.de \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.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®