Commit d100016
x86/sev: Allocate request in TSC_INFO_REQ on stack
Allocate a 88 byte request structure on stack and skip needless
kzalloc/kfree.
While at this, correct indent.
No functional change intended.
Signed-off-by: Alexey Kardashevskiy <aik@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Reviewed-by: Dionna Glaze <dionnaglaze@google.com>
Link: https://lore.kernel.org/20250611040842.2667262-3-aik@amd.com1 parent 3f83ab6 commit d100016
1 file changed
+12
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2069 | 2069 | | |
2070 | 2070 | | |
2071 | 2071 | | |
2072 | | - | |
| 2072 | + | |
2073 | 2073 | | |
2074 | 2074 | | |
2075 | 2075 | | |
| |||
2085 | 2085 | | |
2086 | 2086 | | |
2087 | 2087 | | |
2088 | | - | |
2089 | | - | |
2090 | | - | |
2091 | | - | |
2092 | 2088 | | |
2093 | 2089 | | |
2094 | | - | |
| 2090 | + | |
2095 | 2091 | | |
2096 | 2092 | | |
2097 | 2093 | | |
2098 | 2094 | | |
2099 | 2095 | | |
2100 | | - | |
2101 | | - | |
2102 | | - | |
2103 | | - | |
2104 | | - | |
2105 | | - | |
2106 | | - | |
2107 | | - | |
| 2096 | + | |
| 2097 | + | |
| 2098 | + | |
| 2099 | + | |
| 2100 | + | |
| 2101 | + | |
| 2102 | + | |
| 2103 | + | |
2108 | 2104 | | |
2109 | | - | |
| 2105 | + | |
2110 | 2106 | | |
2111 | 2107 | | |
2112 | 2108 | | |
| |||
2127 | 2123 | | |
2128 | 2124 | | |
2129 | 2125 | | |
2130 | | - | |
2131 | | - | |
2132 | | - | |
| 2126 | + | |
2133 | 2127 | | |
2134 | 2128 | | |
2135 | 2129 | | |
| |||
0 commit comments