android_kernel_msm-6.1_noth.../drivers/android
Jong eon Park ddf142e5a8 ANDROID: netlink: add netlink poll and hooks
In huge uevents generating system, especially for user apps who have
small size of rcvbuf socket, it has been reported that netlink overrun
happens quite frequently.

Moreover, if there's no POLLERR (caused by this netlink overrun) handler
in user apps, the system can almost be stucked by calling 'poll' repeatedly.

Regarding this issue, I have sent a kernel netlink patch to linux
maintainers and got replied that this is absolutely user app's problem,
must not addressing kernel.

Until Android team look into this issue and some modification comes out,
we need kernel patch for temporary. To minimize the effect by this patch
to the others who have never met this issue, I would like to just add
netlink's dedicated poll and its hooks.

Please refer to below v1/v2 patch links for history.

v1: https://lore.kernel.org/netdev/20231110110002.7279f895@kernel.org/T/#t
v2: https://lore.kernel.org/netdev/d599922fd89b3e61c7cf531a03ea8b81cbcb003e.camel@redhat.com/T/#t

Bug: 300009377
Link: https://lore.kernel.org/netdev/d599922fd89b3e61c7cf531a03ea8b81cbcb003e.camel@redhat.com/T/#t

Change-Id: I4f11399d61c10332ba05bac64cfa1e92bb111565
Signed-off-by: Jong eon Park <jongeon.park@samsung.com>
2023-12-08 20:50:05 +00:00
..
android_debug_symbols.c ANDROID: android: Create debug_symbols driver 2023-06-30 10:39:56 +00:00
binder.c Merge branch 'android14-6.1' into branch 'android14-6.1-lts' 2023-10-31 17:20:05 +00:00
binder_alloc.c Merge 6.1.46 into android14-6.1-lts 2023-09-13 19:34:21 +00:00
binder_alloc.h binder: fix memory leak in binder_init() 2023-08-16 18:27:24 +02:00
binder_alloc_selftest.c UPSTREAM: Revert "android: binder: stop saving a pointer to the VMA" 2023-06-14 16:40:59 +00:00
binder_internal.h FROMGIT: Binder: Add async from to transaction record 2023-06-07 14:25:07 +00:00
binder_trace.h Merge 228dfe98a3 ("Merge tag 'char-misc-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc") into android-mainline 2022-08-21 14:30:36 +02:00
binderfs.c binderfs: rework superblock destruction 2022-09-01 16:18:49 +02:00
debug_kinfo.c ANDROID: kernel: fix debug_kinfo set twice crash issue 2022-05-17 20:48:53 +08: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 ANDROID: netlink: add netlink poll and hooks 2023-12-08 20:50:05 +00:00