lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130110111403.GA730@dcvr.yhbt.net>
Date:	Thu, 10 Jan 2013 11:14:03 +0000
From:	Eric Wong <normalperson@...t.net>
To:	Riccardo Magliocchetti <riccardo.magliocchetti@...il.com>
Cc:	linux-mm@...ck.org, linux-kernel@...r.kernel.org,
	Alan Cox <alan@...rguk.ukuu.org.uk>,
	Dave Chinner <david@...morbit.com>,
	Zheng Liu <gnehzuil.liu@...il.com>
Subject: Re: [v2] fadvise: perform WILLNEED readahead asynchronously

Riccardo Magliocchetti <riccardo.magliocchetti@...il.com> wrote:
> Hello,
> 
> Il 25/12/2012 03:22, Eric Wong ha scritto:
> > Any other (Free Software) applications that might benefit from
> > lower FADV_WILLNEED latency?
> 
> Not with fadvise but with madvise. Libreoffice / Openoffice.org have
> this comment:
> 
> // On Linux, madvise(..., MADV_WILLNEED) appears to have the undesirable
> // effect of not returning until the data has actually been paged in, so
> // that its net effect would typically be to slow down the process
> // (which could start processing at the beginning of the data while the
> // OS simultaneously pages in the rest); on other platforms, it remains
> // to be evaluated whether madvise or equivalent is available and
> // actually useful:
> 
> See:
> http://cgit.freedesktop.org/libreoffice/core/tree/sal/osl/unx/file.cxx#n1213
> 
> May the same approach be extended to madvise MADV_WILLNEED?

Definitely yes, it should be easy.  This project low-priority for me at
the moment, if you or anybody else wants to take a stab at it,
please do :)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ