android_kernel_xiaomi_sm8350/include
Shailabh Nagar f9fd8914c1 [PATCH] per-task delay accounting taskstats interface: control exit data through cpumasks
On systems with a large number of cpus, with even a modest rate of tasks
exiting per cpu, the volume of taskstats data sent on thread exit can
overflow a userspace listener's buffers.

One approach to avoiding overflow is to allow listeners to get data for a
limited and specific set of cpus.  By scaling the number of listeners
and/or the cpus they monitor, userspace can handle the statistical data
overload more gracefully.

In this patch, each listener registers to listen to a specific set of cpus
by specifying a cpumask.  The interest is recorded per-cpu.  When a task
exits on a cpu, its taskstats data is unicast to each listener interested
in that cpu.

Thanks to Andrew Morton for pointing out the various scalability and
general concerns of previous attempts and for suggesting this design.

[akpm@osdl.org: build fix]
Signed-off-by: Shailabh Nagar <nagar@watson.ibm.com>
Signed-off-by: Balbir Singh <balbir@in.ibm.com>
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-14 21:53:57 -07:00
..
acpi Pull acpi_os_allocate into test branch 2006-07-10 02:39:47 -04:00
asm-alpha
asm-arm [ARM] Allow Versatile to be built for AB and PB 2006-07-11 21:10:42 +01:00
asm-arm26
asm-cris
asm-frv [PATCH] Make cpu_relax() imply barrier() on all arches 2006-07-12 12:56:45 -07:00
asm-generic [PATCH] hdrinstall: remove asm/io.h from user visibility 2006-07-14 21:53:52 -07:00
asm-h8300 [PATCH] Make cpu_relax() imply barrier() on all arches 2006-07-12 12:56:45 -07:00
asm-i386 [PATCH] i386: system.h: remove extra semicolons and fix order 2006-07-13 07:48:28 -07:00
asm-ia64 [PATCH] make valid_mmap_phys_addr_range() take a pfn 2006-07-10 13:24:25 -07:00
asm-m32r
asm-m68k
asm-m68knommu [PATCH] m68knommu: fix result type in get_user() macro 2006-07-13 07:51:48 -07:00
asm-mips [MIPS] vr41xx: Update workpad setup function 2006-07-13 21:26:21 +01:00
asm-parisc
asm-powerpc [PATCH] powermac: Combined fixes for backlight code 2006-07-10 13:24:20 -07:00
asm-ppc
asm-s390 [S390] Fix sparse warnings. 2006-07-12 16:41:55 +02:00
asm-sh [PATCH] Make cpu_relax() imply barrier() on all arches 2006-07-12 12:56:45 -07:00
asm-sh64 [PATCH] Make cpu_relax() imply barrier() on all arches 2006-07-12 12:56:45 -07:00
asm-sparc
asm-sparc64 [SPARC64]: Fix make headers_install 2006-07-13 01:50:04 -07:00
asm-um
asm-v850 [PATCH] Make cpu_relax() imply barrier() on all arches 2006-07-12 12:56:45 -07:00
asm-x86_64 [PATCH] x86_64: Fix Calgary copyright statements per IBM guidelines 2006-07-10 15:12:33 -07:00
asm-xtensa [PATCH] Make cpu_relax() imply barrier() on all arches 2006-07-12 12:56:45 -07:00
keys
linux [PATCH] per-task delay accounting taskstats interface: control exit data through cpumasks 2006-07-14 21:53:57 -07:00
math-emu
media
mtd
net [PATCH] per-task-delay-accounting: utilities for genetlink usage 2006-07-14 21:53:56 -07:00
pcmcia
rdma [PATCH] fmr pool: remove unnecessary pointer dereference 2006-07-14 21:53:51 -07:00
rxrpc
scsi
sound [ALSA] Fix section mismatch errors in ALSA PCI drivers 2006-07-12 20:08:01 +02:00
video [PATCH] mbxfb: Add framebuffer driver for the Intel 2700G 2006-07-14 21:53:55 -07:00
Kbuild