android_kernel_motorola_sm6375/include
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Joel Fernandes f6cc86c7bd UPSTREAM: rss_stat: Add support to detect RSS updates of external mm
When a process updates the RSS of a different process, the rss_stat
tracepoint appears in the context of the process doing the update. This
can confuse userspace that the RSS of process doing the update is
updated, while in reality a different process's RSS was updated.

This issue happens in reclaim paths such as with direct reclaim or
background reclaim.

This patch adds more information to the tracepoint about whether the mm
being updated belongs to the current process's context (curr field). We
also include a hash of the mm pointer so that the process who the mm
belongs to can be uniquely identified (mm_id field).

Also vsprintf.c is refactored a bit to allow reuse of hashing code.

Change-Id: Ic87af93af608c83be0b08757aed99d2b9c2c01d8
Reported-by: Ioannis Ilkos <ilkos@google.com>
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Acked-by: Petr Mladek <pmladek@suse.com> # lib/vsprintf.c
Signed-off-by: Joel Fernandes <joelaf@google.com>
2019-12-17 19:53:46 +00:00
..
acpi ACPI / utils: Move acpi_dev_get_first_match_dev() under CONFIG_ACPI 2019-12-17 19:56:29 +01:00
asm-generic ANDROID: add support for Clang's Control Flow Integrity (CFI) 2019-11-27 12:49:12 -08:00
clocksource
crypto
drm ANDROID: drivers: gpu: drm: add support to batch commands 2019-11-19 14:33:07 -08:00
dt-bindings
keys
kvm
linux UPSTREAM: rss_stat: Add support to detect RSS updates of external mm 2019-12-17 19:53:46 +00:00
math-emu
media ANDROID: media: increase video max frame number 2019-10-29 18:11:34 +00:00
misc
net BACKPORT: FROMLIST: net: introduce ip_local_unbindable_ports sysctl 2019-12-13 09:50:32 -08:00
pcmcia
ras
rdma RDMA/core: Fix ib_dma_max_seg_size() 2019-12-17 19:56:41 +01:00
scsi FROMGIT: scsi: core: Adjust DBD setting in MODE SENSE for caching mode page per LLD 2019-12-12 17:14:55 -08:00
soc
sound This is the 5.4.3 stable release 2019-12-13 17:03:53 +01:00
target
trace UPSTREAM: rss_stat: Add support to detect RSS updates of external mm 2019-12-17 19:53:46 +00:00
uapi This is the 5.4.4 stable release 2019-12-17 20:10:28 +01:00
vdso
video
xen
Kbuild