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] [thread-next>] [day] [month] [year] [list]
Message-ID: <70D00C33FCD1FD4A860DEAC228277C0C048425EA@MTNMAIL1.mtn.co.za>
Date:	Thu, 14 Aug 2008 12:26:28 +0200
From:	"Trevor Woollacott [ MTN - Innovation Centre ]" <Woolla_T@....co.za>
To:	"Andrew Morton" <akpm@...ux-foundation.org>
Cc:	<linux-kernel@...r.kernel.org>
Subject: RE: POSIX_FADV_DONTNEED


Thanks for the response Andrew. Is there a way to check when the cached
data has been freed after fadvise has been called?

-----Original Message-----
From: Andrew Morton [mailto:akpm@...ux-foundation.org] 
Sent: Thursday, 14 August 2008 11:17 AM
To: Trevor Woollacott [ MTN - Innovation Centre ]
Cc: linux-kernel@...r.kernel.org
Subject: Re: POSIX_FADV_DONTNEED

On Fri, 1 Aug 2008 17:05:39 +0200 "Trevor Woollacott [ MTN - Innovation
Centre ]" <Woolla_T@....co.za> wrote:

> 
> Hi all
> 
> Does anyone know if posix_fadvise() with POSIX_FADV_DONTNEED is
> blocking/unblocking?

It tries to be nonblocking and will mostly succeed in that.  It might
occasionally block on a metadata read or journal congestion or
something, so it isn't guaranteed.


NOTE: This e-mail message is subject to the MTN Group disclaimer see http://www.mtn.co.za/default.aspx?pid=34411 
--
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