Re: [PATCH] Laptop-mode v7 for linux 2.6.1

From: Andrew Morton
Date: Mon Jan 12 2004 - 17:52:04 EST


Dumitru Ciobarcianu <Dumitru.Ciobarcianu@xxxxxxx> wrote:
>
> This e-mail is written using "LD_PRELOAD=no-fsync.so evolution", and the
> disc does not spin up every time I switch to another folder or just
> another e-mail.
>
> ...
> Now I wonder what will happen if I do this system-wide...

I think it's a valid thing to do, personally. I had a "personal
laptop-mode" patch ages ago which just disabled fsync, fdatasync and O_SYNC
kernel-wide. Gone.

It's the sort of thing which email purists tend to get emotional about, but
really this is a choice which should be made available to the user if you
want to do this thing properly.


sync() needs to still work. If you have some app which calls sync() all
the time then you lose.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/