1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/sys/sys
Jim Harris 34bca4aef6 Remove unncessary atomic operation when reading process flags in
PMC_PROC_IS_USING_PMCS macro.

Invocations of this macro are not synchronized with setting/clearing
of P_HWPMC flag, so the atomic operation here isn't needed.  Removing
the atomic operation provides noticeable improvement (5-6%) on
some scheduler-intensive workloads with HWPMC_HOOKS enabled on an
8C Sandy Bridge Xeon system.

Sponsored by: Intel
Reviewed by: jhb
MFC after: 1 week
2012-08-22 20:22:55 +00:00
..
_bus_dma.h
_callout.h
_cpuset.h
_ffcounter.h
_iovec.h
_kstack_cache.h Move kstack_cache_entry into the private header, and make the 2011-12-16 10:56:16 +00:00
_lock.h
_lockmgr.h
_mutex.h
_null.h Define NULL to nullptr in C++11 mode (not strictly required, but it makes 2011-12-27 21:36:31 +00:00
_pthreadtypes.h
_rmlock.h
_rwlock.h
_semaphore.h
_sigset.h
_sockaddr_storage.h
_stack.h
_stdint.h
_sx.h
_task.h
_termios.h
_timespec.h
_timeval.h
_types.h Make the wchar_t type machine dependent. 2012-06-24 04:15:58 +00:00
_umtx.h In revision 231989, we pass a 16-bit clock ID into kernel, however 2012-02-25 02:12:17 +00:00
aac_ioctl.h
acct.h
acl.h
agpio.h A rewrite of the i810 bits of the agp(4) driver. New driver supports 2012-05-22 10:59:26 +00:00
aio.h
alq.h
apm.h Add a partition type for nandfs to the apm, bsd, gpt and vtoc8 schemes. 2012-05-25 20:33:34 +00:00
assym.h
ata.h Add and utilize defines for the ATA device register. 2012-07-12 10:09:34 +00:00
bio.h
bitstring.h
blist.h
buf_ring.h
buf.h Eliminate some unused declarations. 2012-08-15 22:25:57 +00:00
bufobj.h
bus_dma.h - Change contigmalloc() to use the vm_paddr_t type instead of an unsigned 2012-03-01 19:58:34 +00:00
bus.h Revert r239178 and implement two new functions, namely 2012-08-15 15:42:57 +00:00
callout.h When callout_reset_on() cannot immediately migrate a callout since it 2012-05-03 10:38:02 +00:00
capability.h
cdefs.h Add a convenience macro for the fastcall attribute. 2012-06-13 20:41:45 +00:00
cdio.h
cdrio.h Convert files to UTF-8 2012-01-15 13:23:18 +00:00
cfictl.h
chio.h
clock.h
condvar.h
conf.h Keep track of the mount point associated with a special device 2012-03-28 20:49:11 +00:00
cons.h move GETS_*ECHO* defintions from libkern.h to cons.h 2011-12-17 15:39:14 +00:00
consio.h Convert files to UTF-8 2012-01-15 13:23:18 +00:00
copyright.h Happy 2012 to FreeBSD users in Samoa. 2011-12-31 04:38:04 +00:00
cpu.h
cpuctl.h
cpuset.h Tune cpuset macros to optimize cases when CPU_SETSIZE fits into single 2012-03-12 07:02:16 +00:00
ctype.h
dataacq.h
device_port.h
devicestat.h
digiio.h
dir.h
dirent.h
disk.h
disklabel.h Add a partition type for nandfs to the apm, bsd, gpt and vtoc8 schemes. 2012-05-25 20:33:34 +00:00
diskmbr.h VMware environments are not unusual now. Add VMware partitions recognition 2012-04-18 11:59:03 +00:00
diskpc98.h
dkstat.h
domain.h
dtrace_bsd.h Initial commit of an I/O provider for DTrace on FreeBSD. 2012-07-11 16:27:02 +00:00
dvdio.h Convert files to UTF-8 2012-01-15 13:23:18 +00:00
elf32.h
elf64.h
elf_common.h Add definition for the -z nodefaultlib flag. 2012-05-06 18:34:31 +00:00
elf_generic.h
elf.h
endian.h
errno.h
eui64.h
event.h - Add knlist_init_rw_reader() function to kqueue(9). 2012-03-26 09:34:17 +00:00
eventhandler.h
eventvar.h
exec.h
extattr.h
fail.h
fbio.h
fcntl.h Add F_DUP2FD_CLOEXEC. Apparently Solaris 11 already did this. 2012-07-27 10:41:10 +00:00
fdcio.h
file.h Unbreak handling of descriptors opened with O_EXEC by fexecve(2). 2012-07-08 00:51:38 +00:00
filedesc.h Explicitly assert that the filedesc lock is held when the fget_locked() 2012-06-14 16:24:03 +00:00
filio.h
firmware.h
fnv_hash.h
gmon.h
gpio.h
gpt.h Add a partition type for nandfs to the apm, bsd, gpt and vtoc8 schemes. 2012-05-25 20:33:34 +00:00
hash.h
hhook.h
iconv.h Fix improper handling of variadic args with ICDEBUG 2012-05-21 02:30:22 +00:00
imgact_aout.h Turns out the emulators still need/want a_magic, so put it back here. 2012-06-28 07:37:46 +00:00
imgact_elf.h Convert files to UTF-8 2012-01-15 13:23:18 +00:00
imgact.h
inflate.h
interrupt.h
ioccom.h
ioctl_compat.h
ioctl.h
ipc.h
ipmi.h
jail.h Add procfs to jail-mountable filesystems. 2012-02-29 00:30:18 +00:00
joystick.h
kbio.h
kdb.h - Extend the KDB interface to add a per-debugger callback to print a 2012-04-12 17:43:59 +00:00
kenv.h
kernel.h Replace a reference to the non-existent SI_ORDER_LAST in a comment with 2012-06-12 18:19:46 +00:00
kerneldump.h
khelp.h
kobj.h
ksem.h
ksyms.h
kthread.h
ktr.h
ktrace.h Include the associated wait channel message for context switch ktrace 2012-04-20 15:32:36 +00:00
libkern.h Remove second consts in r233288 in order to appease C++ compilers. 2012-03-26 18:22:04 +00:00
limits.h
link_aout.h
link_elf.h
linker_set.h
linker.h
lock_profile.h
lock.h
lockf.h
lockmgr.h
lockstat.h Revert the approach for skipping lockstat_probe_func call when doing 2011-12-12 23:29:32 +00:00
loginclass.h
mac.h
malloc.h - Change contigmalloc() to use the vm_paddr_t type instead of an unsigned 2012-03-01 19:58:34 +00:00
mbpool.h
mbuf.h Seperate SCTP checksum offloading for IPv4 and IPv6. 2012-05-30 20:56:07 +00:00
mchain.h
md4.h
md5.h
mdioctl.h Make it possible to resize md(4) devices. 2012-07-07 20:32:21 +00:00
memrange.h
mman.h Export some more useful info about shared memory objects to userland 2012-04-01 18:22:48 +00:00
module_khelp.h
module.h
mount.h vn_io_fault() is a facility to prevent page faults while filesystems 2012-05-30 16:42:08 +00:00
mouse.h
mpt_ioctl.h
mqueue.h
msg.h
msgbuf.h - Clean up timestamps in msgbuf code. The timestamps should now be 2012-03-19 00:36:32 +00:00
mtio.h
mutex.h panic: add a switch and infrastructure for stopping other CPUs in SMP case 2011-12-11 21:02:01 +00:00
namei.h Update LOCKLEAF comment: it should say "vnode". 2011-12-29 12:28:05 +00:00
nlist_aout.h
osd.h
param.h Add support for the so-called streams feature of BULK endpoints 2012-08-12 17:53:06 +00:00
pciio.h
pcpu.h
pioctl.h
pipe.h I am comparing current pipe code with the one in 8.3-STABLE r236165, 2012-07-31 05:48:35 +00:00
pmc.h Add software PMC support. 2012-03-28 20:58:30 +00:00
pmckern.h Remove unncessary atomic operation when reading process flags in 2012-08-22 20:22:55 +00:00
pmclog.h Add software PMC support. 2012-03-28 20:58:30 +00:00
poll.h
posix4.h
power.h
priority.h
priv.h
proc.h Add a sysctl kern.pid_max, which limits the maximum pid the system is 2012-08-15 15:56:21 +00:00
procdesc.h
procfs.h
protosw.h
ptio.h
ptrace.h The PTRACESTOP() macro is used only once. Inline the only use and remove 2012-02-11 14:49:25 +00:00
queue.h
racct.h Make racct and rctl correctly handle jail renaming. Previously 2012-03-06 11:05:50 +00:00
random.h
rangelock.h Add a rangelock implementation, intended to be used to range-locking 2012-05-30 16:06:38 +00:00
rctl.h
reboot.h
refcount.h Add assertion for refcount overflow. 2012-07-27 09:16:48 +00:00
regression.h
resource.h
resourcevar.h Change kern.proc.rlimit sysctl to: 2012-01-22 20:25:00 +00:00
rman.h Typo. 2012-02-27 18:28:31 +00:00
rmlock.h
rtprio.h
runq.h
rwlock.h
sbuf.h
sched.h Add a new sched_clear_name() method to the scheduler interface to clear 2012-03-08 19:41:05 +00:00
sdt.h Implement the DTrace sched provider. This implementation aims to be 2012-05-15 01:30:25 +00:00
select.h
selinfo.h
sem.h
sema.h
serial.h
sf_buf.h
sglist.h
shm.h
sigio.h
signal.h Register signal 33 explicitly as reserved by real-time library, and 2012-03-26 19:12:09 +00:00
signalvar.h
sleepqueue.h
slicer.h Add a new geom class which allows to divide NAND Flash chip 2012-05-22 08:33:14 +00:00
smp.h Add x86/acpica/acpi_wakeup.c for amd64 and i386. Difference of 2012-06-09 00:37:26 +00:00
snoop.h
sockbuf.h
socket.h Add SO_PROTOCOL/SO_PROTOTYPE socket SOL_SOCKET-level option to get the 2012-02-26 13:55:43 +00:00
socketvar.h
sockio.h Provide ABI compatibility shim to enable configuring of addresses 2011-12-21 12:39:08 +00:00
sockopt.h
sockstate.h
soundcard.h
stack.h
stat.h Put struct ostat and struct nstat under #ifdef _KERNEL. The 2012-07-22 20:08:38 +00:00
statvfs.h
stddef.h
stdint.h Make the wchar_t type machine dependent. 2012-06-24 04:15:58 +00:00
sun_disklabel.h
sx.h
syscall.h regen. 2012-08-17 02:47:16 +00:00
syscall.mk regen. 2012-08-17 02:47:16 +00:00
syscallsubr.h Add kern_fhstat(), adjust sys_fhstat() to use it. 2012-05-24 08:00:26 +00:00
sysctl.h Add a sysctl to set and retrieve binary osreldate of another process. 2012-03-23 20:05:41 +00:00
sysent.h Remove no longer needed forward declaration for struct sf_buf. 2012-06-23 10:14:51 +00:00
syslimits.h
syslog.h
sysproto.h regen. 2012-08-17 02:47:16 +00:00
systm.h Add a convenience macro for the returns_twice attribute, and apply it to 2012-04-29 11:04:31 +00:00
taskqueue.h Add a TASK_INITIALIZER() macro that can be used to statically 2011-12-19 18:55:13 +00:00
termios.h
thr.h
tiio.h
time.h Implement syscall clock_getcpuclockid2, so we can get a clock id 2012-08-17 02:26:31 +00:00
timeb.h
timeet.h
timeffc.h Introduce the sysclock_getsnapshot() and sysclock_snap2bintime() KPIs. The 2011-12-24 01:32:01 +00:00
timepps.h
timers.h
times.h
timespec.h
timetc.h
timex.h
tree.h
tty.h Move tty_opened_ns() into syscons.c which is currently the 2012-03-29 15:47:29 +00:00
ttycom.h Fix whitespace inconsistencies in TTY code. 2012-02-06 18:15:46 +00:00
ttydefaults.h Fix whitespace inconsistencies in TTY code. 2012-02-06 18:15:46 +00:00
ttydevsw.h
ttydisc.h
ttyhook.h
ttyqueue.h
turnstile.h
types.h Isolate v_caddr_t in the ie driver. 2012-01-31 13:00:40 +00:00
ucontext.h Add a convenience macro for the returns_twice attribute, and apply it to 2012-04-29 11:04:31 +00:00
ucred.h
uio.h
umtx.h umtx operation UMTX_OP_MUTEX_WAKE has a side-effect that it accesses 2012-04-05 02:24:08 +00:00
un.h
unistd.h Implement syscall clock_getcpuclockid2, so we can get a clock id 2012-08-17 02:26:31 +00:00
unpcb.h
user.h Missing one in r239505. 2012-08-21 17:06:36 +00:00
utsname.h
uuid.h
vdso.h Stop updating the struct vdso_timehands from even handler executed in 2012-06-23 09:33:06 +00:00
vmmeter.h Drop page queues mutex on each iteration of vm_pageout_scan over the 2012-07-07 19:39:08 +00:00
vnode.h Split the second half of vn_open_cred() (after a vnode has been found via 2012-06-08 18:32:09 +00:00
vtoc.h Add a partition type for nandfs to the apm, bsd, gpt and vtoc8 schemes. 2012-05-25 20:33:34 +00:00
wait.h
watchdog.h