lkml.org 
[lkml]   [2004]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Laptop-mode v7 for linux 2.6.1
Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.061 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site