[Bug 230160] linuxulator doesn't implement madvise(MADV_DONTNEED) and any MADV_ flags with values >= 8 correctly

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 20 18:29:54 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230160

--- Comment #11 from commit-hook at freebsd.org ---
A commit references this bug:

Author: trasz
Date: Sat Jun 20 18:29:25 UTC 2020
New revision: 362440
URL: https://svnweb.freebsd.org/changeset/base/362440

Log:
  Add linux_madvise(2) instead of having Linux apps call the native
  FreeBSD madvise(2) directly.  While some of the flag values match,
  most don't.

  PR:           kern/230160
  Reported by:  markj
  Reviewed by:  markj
  Discussed with:       brooks, kib
  MFC after:    2 weeks
  Sponsored by: The FreeBSD Foundation
  Differential Revision:        https://reviews.freebsd.org/D25272

Changes:
  head/sys/amd64/linux/linux_machdep.c
  head/sys/amd64/linux/syscalls.master
  head/sys/amd64/linux32/linux32_machdep.c
  head/sys/amd64/linux32/syscalls.master
  head/sys/arm64/linux/linux_machdep.c
  head/sys/arm64/linux/syscalls.master
  head/sys/compat/linux/linux_mmap.c
  head/sys/compat/linux/linux_mmap.h
  head/sys/i386/linux/linux_machdep.c
  head/sys/i386/linux/syscalls.master
  head/sys/sys/syscallsubr.h
  head/sys/vm/vm_mmap.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-emulation mailing list