Support posix_madvise(2) for Solaris
Merge branch 'maint'

* maint:
  Support posix_madvise(2) for Solaris