diff options
author | Logan Gunthorpe <[email protected]> | 2019-08-22 10:10:11 -0600 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2019-09-05 13:26:46 -0500 |
commit | 70aaf61a9b8b86eb08da96344efd1c0f0925ee6e (patch) | |
tree | 7c67f440c4ee9a588b70cce1c922dcbecb88d5ef /net/unix/af_unix.c | |
parent | 8050f3f6645ae0f7e4c1304593f6f7eb2ee7d85c (diff) |
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/[email protected]
Signed-off-by: Logan Gunthorpe <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions