Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2020 18:29:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   [Bug 230160] linuxulator doesn't implement madvise(MADV_DONTNEED) and any MADV_ flags with values >= 8 correctly
Message-ID:  <bug-230160-4077-fXreafvvIh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230160-4077@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230160-4077@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230160

--- Comment #11 from commit-hook@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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230160-4077-fXreafvvIh>