android_kernel_msm-6.1_noth.../drivers/android
Carlos Llamas a6358098da ANDROID: binder: fix KMI-break due to alloc->lock
Wrap 'struct binder_proc' inside 'struct binder_proc_wrap' to add the
alloc->lock equivalent without breaking the KMI. Also, add convenient
apis to access/modify this new spinlock.

Without this patch, the following KMI issues show up:

  type 'struct binder_proc' changed
    byte size changed from 616 to 576

  type 'struct binder_alloc' changed
    byte size changed from 152 to 112
    member 'spinlock_t lock' was added
    member 'struct mutex mutex' was removed

Bug: 254650075
Bug: 319778300
Change-Id: Ic31dc39fb82800a3e47be10a7873cd210f7b60be
Signed-off-by: Carlos Llamas <cmllamas@google.com>
[cmllamas: fixed trivial conflicts]
2024-05-29 20:51:37 +00:00
..
android_debug_symbols.c ANDROID: android: Create debug_symbols driver 2023-06-30 10:39:56 +00:00
binder.c ANDROID: binder: fix KMI-break due to alloc->lock 2024-05-29 20:51:37 +00:00
binder_alloc.c ANDROID: binder: fix KMI-break due to alloc->lock 2024-05-29 20:51:37 +00:00
binder_alloc.h ANDROID: binder: fix KMI-break due to alloc->lock 2024-05-29 20:51:37 +00:00
binder_alloc_selftest.c ANDROID: binder: fix KMI-break due to address type change 2024-05-29 20:51:37 +00:00
binder_internal.h ANDROID: binder: fix KMI-break due to alloc->lock 2024-05-29 20:51:37 +00:00
binder_trace.h ANDROID: binder: fix KMI-break due to address type change 2024-05-29 20:51:37 +00:00
binderfs.c binderfs: rework superblock destruction 2022-09-01 16:18:49 +02:00
debug_kinfo.c ANDROID: Add known structs used by modules to KMI 2024-04-16 13:49:35 -07:00
debug_kinfo.h ANDROID: debug_kinfo driver, move to drivers/android 2022-04-13 13:42:33 +02:00
Kconfig ANDROID: android: Create debug_symbols driver 2023-06-30 10:39:56 +00:00
Makefile ANDROID: android: Create debug_symbols driver 2023-06-30 10:39:56 +00:00
vendor_hooks.c Reapply "ANDROID: vendor_hooks: Add hook for binder_detect_low_async_space" 2024-05-29 20:51:37 +00:00