lkml.org 
[lkml]   [2000]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: MADV_SPACEAVAIL and MADV_FREE in pre2-3
On Sun, Mar 19, 2000 at 02:38:47PM -0500, Chuck Lever wrote:
> what does MADV_SPACEAVAIL do?

Snipped from the DU man page:


MADV_SPACEAVAIL
Ensure that resources are reserved

[ENOSPC] The behav parameter specifies MADV_SPACEAVAIL and resources can
not be reserved.

Not particularly verbose, and I presume it's only a point-check
against overcommit, since another process could come along and
gobble everything up.


r~

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

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