summaryrefslogtreecommitdiffstats
path: root/sys/dev/mlx5
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2015-12-28 18:20:05 +0000
committerhselasky <hselasky@FreeBSD.org>2015-12-28 18:20:05 +0000
commit0fc96d39d362dff30bc5839e1f2fe66c83fef8cd (patch)
tree5d0ad69c7b91286aae1f8d623530a4609ef0c85b /sys/dev/mlx5
parentbd647f05b431df82cb8b33b8890e68a7e46c1c33 (diff)
downloadFreeBSD-src-0fc96d39d362dff30bc5839e1f2fe66c83fef8cd.zip
FreeBSD-src-0fc96d39d362dff30bc5839e1f2fe66c83fef8cd.tar.gz
Reduce memory consumption when allocating kobject strings in the
LinuxKPI. Compute string length before allocating memory instead of using fixed size allocations. Make kobject_set_name_vargs() global instead of inline to save some bytes when compiling. MFC after: 1 week Sponsored by: Mellanox Technologies
Diffstat (limited to 'sys/dev/mlx5')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud