diff options
author | 2019-08-22 10:10:11 -0600 | |
---|---|---|
committer | 2019-09-05 13:26:46 -0500 | |
commit | 70aaf61a9b8b86eb08da96344efd1c0f0925ee6e (patch) | |
tree | 7c67f440c4ee9a588b70cce1c922dcbecb88d5ef /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI: Use static const struct, not const static struct (diff) | |
download | wireguard-linux-70aaf61a9b8b86eb08da96344efd1c0f0925ee6e.tar.xz wireguard-linux-70aaf61a9b8b86eb08da96344efd1c0f0925ee6e.zip |
PCI: Clean up resource_alignment parameter to not require static buffer
Clean up the 'resource_alignment' parameter code to use kstrdup() in the
initcall routine instead of a static buffer that wastes memory regardless
of whether the feature is used. This allows us to drop 'COMMAND_LINE_SIZE'
bytes (typically 256-4096 depending on architecture) of static data.
This is similar to what has been done for the 'disable_acs_redir'
parameter.
Link: https://lore.kernel.org/r/20190822161013.5481-2-logang@deltatee.com
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions