diff options
| author | Amadeusz Sławiński <[email protected]> | 2021-03-18 17:06:18 +0100 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2021-03-19 16:55:11 +0100 |
| commit | f4b4bdf29ace71475b18aae9377402a534f09a72 (patch) | |
| tree | 8dc43b58b1f0c03dfd7239f73570b7e61d80ebfc /tools/perf/scripts/python | |
| parent | 12b2b508300d08206674bfb3f53bb84f69cf2555 (diff) | |
ALSA: hda: Revert "ALSA: hda: Allow setting preallocation again for x86"
This reverts commit f8e4ae10de43 ("ALSA: hda: Allow setting
preallocation again for x86").
The reverted commit itself is a revert of c31427d0d21e ("ALSA: hda: No
preallocation on x86 platforms"). It was needed because HDA allowed very
big allocations, up to 1GB per stream. However as previous commit in
this series changes maximum allowed allocation per stream to 4MB, we can
safely revert it back.
On systems where there are a lot of FrontEnds, when
CONFIG_SND_HDA_PREALLOC_SIZE != 0 ALSA core allocates memory for each
FE, which may cause out of memory problems due to per card limit. Force
config to 0 on X86, so memory will be allocated on as needed basis.
Bug: https://bugzilla.kernel.org/show_bug.cgi?id=201251#c322
Suggested-by: Takashi Iwai <[email protected]>
Reviewed-by: Cezary Rojewski <[email protected]>
Signed-off-by: Amadeusz Sławiński <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions