From: "Petr Vandrovec" <VANDROVE@vc.cvut.cz>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: marcel@mesa.nl (Marcel J.E. Mol),
roy@karlsbakk.net (Roy Sigurd Karlsbakk),
linux-kernel@vger.kernel.org
Subject: Re: New ac patch???
Date: Mon, 26 Nov 2001 21:47:38 MET-1 [thread overview]
Message-ID: <A4F55DE05E2@vcnet.vc.cvut.cz> (raw)
On 26 Nov 01 at 20:39, Alan Cox wrote:
> > If it will go into mainstream, please change it to config option or
> > something like that. I'm doing
> >
> > for a in /dev/hd[a-z]; do hdparm -Y $a; done
>
> Thats somewhat undefined in its behaviour. You might also page after the
> hdparm -Y
cat /sbin/halt > /dev/null
cat /bin/sleep > /dev/null
for a in /dev/hd[a-z]; do /sbin/hdparm -Y $a; done
/bin/sleep 1
/sbin/halt -d -f -i -p -h
works without a glitch - libc & co. is already in memory due to running
other code, hdparm is read during first pass through the loop, and cat
brings /sbin/halt into the memory. And as root filesystem is mounted
read-only at that time, there are of course no atime updates pending from
these accesses.
Best regards,
Petr Vandrovec
vandrove@vc.cvut.cz
next reply other threads:[~2001-11-26 20:50 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-26 21:47 Petr Vandrovec [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-11-21 13:29 New ac patch??? Petr Vandrovec
2001-11-26 20:39 ` Alan Cox
2001-11-18 14:43 Roy Sigurd Karlsbakk
2001-11-18 14:49 ` J Sloan
2001-11-18 15:05 ` Alan Cox
2001-11-20 20:47 ` Roy Sigurd Karlsbakk
2001-11-20 23:38 ` Alan Cox
2001-11-21 9:08 ` Marcel J.E. Mol
2001-11-21 9:21 ` Alan Cox
2001-11-21 9:33 ` Marcel J.E. Mol
2001-11-21 10:16 ` Rasmus Bøg Hansen
2001-11-21 11:00 ` Dominik Kubla
2001-11-21 11:12 ` Alan Cox
2001-11-21 11:57 ` Miquel van Smoorenburg
2001-11-21 12:23 ` Marcel J.E. Mol
2001-11-21 17:34 ` Jakob Kemi
2001-11-22 3:03 ` Jeff Chua
2001-11-22 7:29 ` Marcel J.E. Mol
2001-11-22 8:30 ` Jeff Chua
2001-11-22 7:30 ` Marcel J.E. Mol
2001-11-21 10:43 ` Miquel van Smoorenburg
2001-11-24 0:23 ` Arnvid Karstad
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=A4F55DE05E2@vcnet.vc.cvut.cz \
--to=vandrove@vc.cvut.cz \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=marcel@mesa.nl \
--cc=roy@karlsbakk.net \
/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