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

Enable madvise on Solaris

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 3.3.3
    • None
    • Fully Compatible

    Description

      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);
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: