gem5/src/kern
Lluc Alvarez c8de765468 SE: Ignore FUTEX_PRIVATE_FLAG of sys_futex
This patch ignores the FUTEX_PRIVATE_FLAG of the sys_futex system call
in SE mode.

With this patch, when sys_futex with the options FUTEX_WAIT_PRIVATE or
FUTEX_WAKE_PRIVATE is emulated, the FUTEX_PRIVATE_FLAG is ignored and
so their behaviours are the regular FUTEX_WAIT and FUTEX_WAKE.

Emulating FUTEX_WAIT_PRIVATE and FUTEX_WAKE_PRIVATE as if they were
non-private is safe from a functional point of view. The
FUTEX_PRIVATE_FLAG does not change the semantics of the futex, it's
just a mechanism to improve performance under certain circunstances
that can be ignored in SE mode.
2012-09-21 04:51:18 -04:00
..
linux SE: Ignore FUTEX_PRIVATE_FLAG of sys_futex 2012-09-21 04:51:18 -04:00
solaris Merge with main repository. 2012-01-30 21:07:57 -08:00
tru64 Port: Add getAddrRanges to master port (asking slave port) 2012-07-09 12:35:33 -04:00
kernel_stats.cc SE/FS: Make the functions available from the TC consistent between SE and FS. 2011-10-31 02:58:22 -07:00
kernel_stats.hh SE/FS: Make the functions available from the TC consistent between SE and FS. 2011-10-31 02:58:22 -07:00
operatingsystem.cc syscall_emul: clean up open() code a bit. 2012-08-06 16:55:28 -07:00
operatingsystem.hh SE/FS: Make getProcessPtr available in both modes, and get rid of FULL_SYSTEMs. 2011-10-30 00:33:02 -07:00
SConscript SE/FS: Get rid of FULL_SYSTEM in kern. 2011-11-13 02:05:32 -08:00
system_events.cc trace: reimplement the DTRACE function so it doesn't use a vector 2011-04-15 10:44:32 -07:00
system_events.hh Moved the idle event out of system_events.hh. The skipFuncEvent can be made ISA independent by making it use the #define for branch delay slots (and NNPC) 2006-11-07 05:38:33 -05:00