https://github.com/torvalds/linux
Revision 3055addadbe9bfb2365006a1c13fd342a8d30d52 authored by Dimitri Sivanich on 31 March 2006, 10:31:20 UTC, committed by Linus Torvalds on 31 March 2006, 20:18:58 UTC
It seems that run_hrtimer_queue() is calling get_softirq_time() more often than it needs to. With this patch, it only calls get_softirq_time() if there's a pending timer. Signed-off-by: Dimitri Sivanich <sivanich@sgi.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 669d786
Tip revision: 3055addadbe9bfb2365006a1c13fd342a8d30d52 authored by Dimitri Sivanich on 31 March 2006, 10:31:20 UTC
[PATCH] hrtimer: call get_softirq_time() only when necessary in run_hrtimer_queue()
[PATCH] hrtimer: call get_softirq_time() only when necessary in run_hrtimer_queue()
Tip revision: 3055add
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 4.6 KB |
Makefile | -rw-r--r-- | 842 bytes |
bootmem.c | -rw-r--r-- | 11.8 KB |
fadvise.c | -rw-r--r-- | 3.1 KB |
filemap.c | -rw-r--r-- | 58.5 KB |
filemap.h | -rw-r--r-- | 2.2 KB |
filemap_xip.c | -rw-r--r-- | 10.3 KB |
fremap.c | -rw-r--r-- | 5.8 KB |
highmem.c | -rw-r--r-- | 13.6 KB |
hugetlb.c | -rw-r--r-- | 18.3 KB |
internal.h | -rw-r--r-- | 1.0 KB |
madvise.c | -rw-r--r-- | 8.5 KB |
memory.c | -rw-r--r-- | 64.9 KB |
memory_hotplug.c | -rw-r--r-- | 3.4 KB |
mempolicy.c | -rw-r--r-- | 46.1 KB |
mempool.c | -rw-r--r-- | 8.9 KB |
migrate.c | -rw-r--r-- | 14.8 KB |
mincore.c | -rw-r--r-- | 4.4 KB |
mlock.c | -rw-r--r-- | 5.3 KB |
mmap.c | -rw-r--r-- | 53.2 KB |
mmzone.c | -rw-r--r-- | 873 bytes |
mprotect.c | -rw-r--r-- | 6.5 KB |
mremap.c | -rw-r--r-- | 10.6 KB |
msync.c | -rw-r--r-- | 5.7 KB |
nommu.c | -rw-r--r-- | 27.8 KB |
oom_kill.c | -rw-r--r-- | 9.3 KB |
page-writeback.c | -rw-r--r-- | 23.1 KB |
page_alloc.c | -rw-r--r-- | 68.6 KB |
page_io.c | -rw-r--r-- | 3.6 KB |
pdflush.c | -rw-r--r-- | 6.2 KB |
prio_tree.c | -rw-r--r-- | 6.3 KB |
readahead.c | -rw-r--r-- | 17.0 KB |
rmap.c | -rw-r--r-- | 23.4 KB |
shmem.c | -rw-r--r-- | 58.6 KB |
slab.c | -rw-r--r-- | 107.1 KB |
slob.c | -rw-r--r-- | 8.9 KB |
sparse.c | -rw-r--r-- | 6.6 KB |
swap.c | -rw-r--r-- | 12.8 KB |
swap_state.c | -rw-r--r-- | 9.2 KB |
swapfile.c | -rw-r--r-- | 44.0 KB |
thrash.c | -rw-r--r-- | 2.7 KB |
tiny-shmem.c | -rw-r--r-- | 3.2 KB |
truncate.c | -rw-r--r-- | 9.4 KB |
util.c | -rw-r--r-- | 1.4 KB |
vmalloc.c | -rw-r--r-- | 14.3 KB |
vmscan.c | -rw-r--r-- | 40.7 KB |
Computing file changes ...