forked from Minki/linux
ed5207afc5
We already prevent freeing buffers via sysfs interface in case there are existing users or if trace is active. Treat the existence of locked windows similarly and return -EBUSY on attempts to free the buffer. When the last window is unlocked, the freeing will succeed. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20190705141425.19894-5-alexander.shishkin@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
acpi.c | ||
core.c | ||
debug.c | ||
debug.h | ||
gth.c | ||
gth.h | ||
intel_th.h | ||
Kconfig | ||
Makefile | ||
msu-sink.c | ||
msu.c | ||
msu.h | ||
pci.c | ||
pti.c | ||
pti.h | ||
sth.c | ||
sth.h |