summaryrefslogtreecommitdiff
path: root/inet/getnameinfo.c
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2016-01-25 10:50:34 -0500
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2016-04-29 10:05:33 -0300
commit72c11b353ede72931cc474c9071d143d9a05c0d7 (patch)
tree1e825c0626899c1952a01c4ad2868545c8169533 /inet/getnameinfo.c
parentf5b3338d70a7a2c626331ac4589b6deb2f610432 (diff)
powerpc: Zero pad using memset in strncpy/stpncpy
Call __memset_power8 to pad, with zeros, the remaining bytes in the dest string on __strncpy_power8 and __stpncpy_power8. This improves performance when n is larger than the input string, giving ~30% gain for larger strings without impacting much shorter strings.
Diffstat (limited to 'inet/getnameinfo.c')
0 files changed, 0 insertions, 0 deletions