diff options
| author | Tiwei Bie <tiwei.btw@antgroup.com> | 2025-10-27 08:18:08 +0800 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2025-10-27 16:41:14 +0100 |
| commit | 6aaf00d14e6c80f4664932d261be7a03834f558b (patch) | |
| tree | 284f27a5d154e69edd775bb4f95face8bd5923a6 /arch/um/include/shared/longjmp.h | |
| parent | a7f7dbae94a5ae5cfbf2375e0d952c54b069fd7f (diff) | |
um: Do not disable kmalloc in initial_thread_cb()
Currently, initial_thread_cb() temporarily disables kmalloc when
it invokes the callback, allowing the callback to bypass kmalloc.
This is unnecessary for the current users of initial_thread_cb(),
and we should avoid memory allocations that are not under the
control of the UML kernel. Therefore, let's stop temporarily
disabling kmalloc in initial_thread_cb().
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20251027001815.1666872-2-tiwei.bie@linux.dev
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'arch/um/include/shared/longjmp.h')
0 files changed, 0 insertions, 0 deletions