linux/Documentation
Andrey Konovalov 80b92bfe3b kasan: dynamically allocate stack ring entries
Instead of using a large static array, allocate the stack ring dynamically
via memblock_alloc().

The size of the stack ring is controlled by a new kasan.stack_ring_size
command-line parameter.  When kasan.stack_ring_size is not provided, the
default value of 32 << 10 is used.

When the stack trace collection is disabled via kasan.stacktrace=off, the
stack ring is not allocated.

Link: https://lkml.kernel.org/r/03b82ab60db53427e9818e0b0c1971baa10c3cbc.1662411800.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Acked-by: Marco Elver <elver@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Evgenii Stepanov <eugenis@google.com>
Cc: Peter Collingbourne <pcc@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2022-10-03 14:03:02 -07:00
..
2022-08-04 12:12:54 -07:00
2022-08-27 15:07:58 +02:00
2022-08-10 11:07:26 -07:00
2022-08-04 15:35:58 -07:00
2022-08-08 11:18:31 -07:00
2022-08-11 23:25:05 +02:00
2022-08-06 10:19:51 -07:00
2022-08-04 19:47:37 -07:00
2022-07-11 15:51:01 +01:00
2022-08-10 11:43:59 -04:00
2022-08-05 09:41:12 -07:00
2022-08-12 09:44:23 -07:00
2022-08-04 19:47:37 -07:00
2022-08-06 10:56:45 -07:00