Steven Rostedt
37ad508419
ftrace - fix dynamic ftrace memory leak
...
The ftrace dynamic function update allocates a record to store the
instruction pointers that are being modified. If the modified
instruction pointer fails to update, then the record is marked as
failed and nothing more is done.
Worse, if the modification fails, but the record ip function is still
called, it will allocate a new record and try again. In just a matter
of time, will this cause a serious memory leak and crash the system.
This patch plugs this memory leak. When a record fails, it is
included back into the pool of records to be used. Now a record may
fail over and over again, but the number of allocated records will
not increase.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-05-23 20:54:04 +02:00
..
acpi
asm-alpha
asm-{alpha,h8300,um,v850,xtensa}/param.h: unbreak HZ for userspace
2008-05-14 19:11:14 -07:00
asm-arm
Merge branch 'omap-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
2008-05-17 22:56:29 +01:00
asm-avr32
avr32: types: use <asm-generic/int-*.h> for the avr32 architecture
2008-05-02 16:18:20 -07:00
asm-blackfin
Blackfin serial driver: add extra IRQ flag for 8250 serial driver
2008-05-17 18:21:57 +08:00
asm-cris
cris: types: use <asm-generic/int-*.h> for the cris architecture
2008-05-02 16:18:20 -07:00
asm-frv
read_barrier_depends arch fixlets
2008-05-14 10:05:18 -07:00
asm-generic
types: add C99-style constructors to <asm-generic/int-*.h>
2008-05-02 16:18:42 -07:00
asm-h8300
asm-{alpha,h8300,um,v850,xtensa}/param.h: unbreak HZ for userspace
2008-05-14 19:11:14 -07:00
asm-ia64
KVM: ia64: Set KVM_IOAPIC_NUM_PINS to 48
2008-05-18 14:34:16 +03:00
asm-m32r
m32r: types: use <asm-generic/int-*.h> for the m32r architecture
2008-05-02 16:18:21 -07:00
asm-m68k
m68k: Prefix ISA type with ISA_TYPE_
2008-05-18 13:28:50 -07:00
asm-m68knommu
m68knommu: rework definition of HZ
2008-05-01 08:08:36 -07:00
asm-mips
[MIPS] Get rid of __ilog2
2008-05-12 16:46:55 +01:00
asm-mn10300
MN10300: Make cpu_relax() invoke barrier()
2008-05-08 10:49:39 -07:00
asm-parisc
parisc: use conditional macro for 64-bit wide ops
2008-05-15 11:03:43 -04:00
asm-powerpc
[POWERPC] Fix uninitialized variable bug in copy_{to|from}_user
2008-05-15 20:49:52 +10:00
asm-ppc
[POWERPC] ppc: More compile fixes
2008-05-12 22:57:51 +10:00
asm-s390
[S390] s390dbf: Use const char * for dbf name.
2008-05-15 16:52:39 +02:00
asm-sh
sh: use the common ascii hex helpers
2008-05-16 15:09:08 +09:00
asm-sparc
sparc: remove CVS keywords
2008-05-20 00:33:44 -07:00
asm-sparc64
sparc64: Add global register dumping facility.
2008-05-20 00:33:45 -07:00
asm-um
asm-{alpha,h8300,um,v850,xtensa}/param.h: unbreak HZ for userspace
2008-05-14 19:11:14 -07:00
asm-v850
asm-{alpha,h8300,um,v850,xtensa}/param.h: unbreak HZ for userspace
2008-05-14 19:11:14 -07:00
asm-x86
ftrace: use nops instead of jmp
2008-05-23 20:33:28 +02:00
asm-xtensa
asm-{alpha,h8300,um,v850,xtensa}/param.h: unbreak HZ for userspace
2008-05-14 19:11:14 -07:00
crypto
[CRYPTO] api: Fix scatterwalk_sg_chain
2008-05-01 18:22:28 +08:00
keys
linux
ftrace - fix dynamic ftrace memory leak
2008-05-23 20:54:04 +02:00
math-emu
media
Fix a deadlock in the bttv driver
2008-05-20 10:12:26 -07:00
mtd
net
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/linville/wireless-2.6
2008-05-19 16:29:40 -07:00
pcmcia
rdma
rxrpc
scsi
Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
2008-05-02 13:52:35 -07:00
sound
[ALSA] ASoC: build fix for snd_soc_info_bool_ext
2008-05-13 14:47:44 +02:00
video
xen
Kbuild