diff options
author | Daniel Mentz <danielmentz@google.com> | 2018-03-07 20:54:47 -0800 |
---|---|---|
committer | Daniel Mentz <danielmentz@google.com> | 2018-03-12 11:35:02 -0700 |
commit | 636ed5fc72b06afbfbb13cad247b7e407b78d1d4 (patch) | |
tree | c538ce325ce7e34663659f66630f05d57b07f735 /libutils/Unicode.cpp | |
parent | 6fe59afe53b2cd791935e27338dd994f9fd9a319 (diff) |
ueventd: Increase uevent buffer size to 2MB
Let's increase the receive buffer size for the NETLINK_KOBJECT_UEVENT
socket to 2MB. Unless a large number of uevents queue up, that memory is
not allocated anyways. The receive buffer size serves only as an upper
limit for the total amount of memory consumed by all skbs queued to a
specific socket.
We experienced situations where ueventd got blocked for multiple seconds
while writing to /dev/kmsg, and the receive buffer overflowed in the
meantime.
Test: compile
Bug: 72648767
Change-Id: Ice6d7b9c5ed9c83efbad6111086ce95ac6432561
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions