aboutsummaryrefslogtreecommitdiff
path: root/include/pwd.h
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-02-12 11:12:13 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-02-12 11:12:13 +0000
commitfb886947d97375ea9906fa1396f83573b6d0674b (patch)
treebc47d67f771fbc25572b79c4d056fe3e80f9d2cc /include/pwd.h
parent3acb6572fc0ef19119240a319873fa75fd597f28 (diff)
downloadsrc-fb886947d97375ea9906fa1396f83573b6d0674b.tar.gz
src-fb886947d97375ea9906fa1396f83573b6d0674b.zip
amd64: store per-cpu allocations subtracted by __pcpu
This eliminates a runtime subtraction from counter_u64_add. before: mov 0x4f00ed(%rip),%rax # 0xffffffff80c01788 <numfullpathfail4> sub 0x808ff6(%rip),%rax # 0xffffffff80f1a698 <__pcpu> addq $0x1,%gs:(%rax) after: mov 0x4f02fd(%rip),%rax # 0xffffffff80c01788 <numfullpathfail4> addq $0x1,%gs:(%rax) Reviewed by: jeff Differential Revision: https://reviews.freebsd.org/D23570
Notes
Notes: svn path=/head/; revision=357805
Diffstat (limited to 'include/pwd.h')
0 files changed, 0 insertions, 0 deletions