Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-23455

Enable madvise on Solaris

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.3.3
    • Component/s: None
    • Fully Compatible
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      madvise is define on Solaris in <sys/mman.h> as long as the right set of define incantations is used.

      It is also defined as caddr_t instead of void* so this will require some type casting.

      Definition:

      extern int madvise(caddr_t, size_t, int);
      

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: