diff options
author | hselasky <hselasky@FreeBSD.org> | 2015-12-28 18:20:05 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2015-12-28 18:20:05 +0000 |
commit | 0fc96d39d362dff30bc5839e1f2fe66c83fef8cd (patch) | |
tree | 5d0ad69c7b91286aae1f8d623530a4609ef0c85b /sys/dev/mlx5 | |
parent | bd647f05b431df82cb8b33b8890e68a7e46c1c33 (diff) | |
download | FreeBSD-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