<Type Name="PosixMadviseAdvice" FullName="Mono.Unix.Native.PosixMadviseAdvice">
  <TypeSignature Language="C#" Value="public enum PosixMadviseAdvice" />
  <AssemblyInfo>
    <AssemblyName>Mono.Posix</AssemblyName>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Enum</BaseTypeName>
  </Base>
  <Members>
    <Member MemberName="POSIX_MADV_NORMAL">
      <MemberSignature Language="C#" Value="POSIX_MADV_NORMAL" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>Mono.Unix.Native.PosixMadviseAdvice</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>Tells the system to revert to the default paging behavior.</summary>
      </Docs>
    </Member>
    <Member MemberName="POSIX_MADV_RANDOM">
      <MemberSignature Language="C#" Value="POSIX_MADV_RANDOM" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>Mono.Unix.Native.PosixMadviseAdvice</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>Is a hint that pages will be accessed randomly, and prefetching is likely not advantageous.</summary>
      </Docs>
    </Member>
    <Member MemberName="POSIX_MADV_SEQUENTIAL">
      <MemberSignature Language="C#" Value="POSIX_MADV_SEQUENTIAL" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>Mono.Unix.Native.PosixMadviseAdvice</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>Causes the VM system to depress the priority of pages immediately preceding a given page when it is faulted in.</summary>
      </Docs>
    </Member>
    <Member MemberName="POSIX_MADV_WILLNEED">
      <MemberSignature Language="C#" Value="POSIX_MADV_WILLNEED" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>Mono.Unix.Native.PosixMadviseAdvice</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>Causes pages that are in a given virtual address range to temporarily have higher priority, and if they are in memory, decrease the likelihood of them being freed.  Additionally, the pages that are already in memory will be immediately mapped into the process, thereby eliminating unnecessary overhead of going through the entire process of faulting the pages in.  This WILL NOT fault pages in from backing store, but quickly map the pages already in memory into the calling process.</summary>
      </Docs>
    </Member>
    <Member MemberName="POSIX_MADV_DONTNEED">
      <MemberSignature Language="C#" Value="POSIX_MADV_DONTNEED" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>Mono.Unix.Native.PosixMadviseAdvice</ReturnType>
      </ReturnValue>
      <Docs>
        <summary>Allows the VM system to decrease the in-memory priority of pages in the specified range.  Additionally future references to this address range will incur a page fault.</summary>
      </Docs>
    </Member>
  </Members>
  <Docs>
    <summary>Possible <see cref="M:Mono.Unix.Native.Syscall.posix_madvise" /><paramref name="advice" /> values.</summary>
    <remarks />
    <altmember cref="M:Mono.Unix.Native.Syscall.posix_madvise" />
  </Docs>
  <Attributes>
    <Attribute>
      <AttributeName>System.CLSCompliant(false)</AttributeName>
    </Attribute>
  </Attributes>
</Type>
