linux/include
Shailabh Nagar c8924363da [PATCH] per-task delay accounting: avoid send without listeners
Don't send taskstats (per-pid or per-tgid) on thread exit when no one is
listening for such data.

Currently the taskstats interface allocates a structure, fills it in and
calls netlink to send out per-pid and per-tgid stats regardless of whether
a userspace listener for the data exists (netlink layer would check for
that and avoid the multicast).

As a result of this patch, the check for the no-listener case is performed
early, avoiding the redundant allocation and filling up of the taskstats
structures.

Signed-off-by: Balbir Singh <balbir@in.ibm.com>
Signed-off-by: Shailabh Nagar <nagar@watson.ibm.com>
Cc: Jay Lan <jlan@engr.sgi.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 Merge git://git.infradead.org/hdrinstall-2.6 2006-07-04 12:55:45 -07:00
asm-arm [ARM] Allow Versatile to be built for AB and PB 2006-07-11 21:10:42 +01:00
asm-arm26 Merge git://git.infradead.org/hdrinstall-2.6 2006-07-04 12:55:45 -07:00
asm-cris Merge git://git.infradead.org/hdrinstall-2.6 2006-07-04 12:55:45 -07:00
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 Merge git://git.infradead.org/hdrinstall-2.6 2006-07-04 12:55:45 -07:00
asm-m68k Merge git://git.infradead.org/hdrinstall-2.6 2006-07-04 12:55:45 -07:00
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 Merge git://git.infradead.org/hdrinstall-2.6 2006-07-04 12:55:45 -07:00
asm-powerpc [PATCH] powermac: Combined fixes for backlight code 2006-07-10 13:24:20 -07:00
asm-ppc [PATCH] irq-flags: PPC: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
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 Merge git://git.infradead.org/hdrinstall-2.6 2006-07-04 12:55:45 -07:00
asm-sparc64 [SPARC64]: Fix make headers_install 2006-07-13 01:50:04 -07:00
asm-um Merge git://git.infradead.org/hdrinstall-2.6 2006-07-04 12:55:45 -07:00
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 [PATCH] keys: discard the contents of a key on revocation 2006-06-26 09:58:18 -07:00
linux [PATCH] per-task delay accounting: avoid send without listeners 2006-07-14 21:53:57 -07:00
math-emu
media V4L/DVB (4270): Add tda9887-specific tuner configuration 2006-06-30 15:59:32 -03:00
mtd Merge git://git.infradead.org/hdrinstall-2.6 2006-07-04 12:55:45 -07:00
net [PATCH] per-task-delay-accounting: utilities for genetlink usage 2006-07-14 21:53:56 -07:00
pcmcia Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
rdma [PATCH] fmr pool: remove unnecessary pointer dereference 2006-07-14 21:53:51 -07:00
rxrpc
scsi Merge git://git.infradead.org/hdrinstall-2.6 2006-07-04 12:55:45 -07:00
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 Add generic Kbuild files for 'make headers_install' 2006-06-18 12:14:01 +01:00