android_kernel_samsung_msm8976/include/linux
Arjan van de Ven 4c36a5dec2 [PATCH] round_jiffies infrastructure
Introduce a round_jiffies() function as well as a round_jiffies_relative()
function.  These functions round a jiffies value to the next whole second.
The primary purpose of this rounding is to cause all "we don't care exactly
when" timers to happen at the same jiffy.

This avoids multiple timers firing within the second for no real reason;
with dynamic ticks these extra timers cause wakeups from deep sleep CPU
sleep states and thus waste power.

The exact wakeup moment is skewed by the cpu number, to avoid all cpus from
waking up at the exact same time (and hitting the same lock/cachelines
there)

[akpm@osdl.org: fix variable type]
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-10 09:57:22 -08:00
..
amba
byteorder
dvb
hdlc
isdn
lockd [PATCH] struct path: convert lockd 2006-12-08 08:28:47 -08:00
mmc
mtd
netfilter
netfilter_arp
netfilter_bridge
netfilter_ipv4
netfilter_ipv6
nfsd
raid [PATCH] md: allow reads that have bypassed the cache to be retried on failure 2006-12-10 09:57:20 -08:00
spi
sunrpc Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ into merge_linus 2006-12-07 16:35:17 -05:00
tc_act
tc_ematch
usb [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
8250_pci.h
a.out.h
ac97_codec.h
acct.h
acpi.h
adb.h
adfs_fs.h
adfs_fs_i.h
adfs_fs_sb.h
aer.h
affs_hardblocks.h
agp_backend.h
agpgart.h
aio.h [PATCH] aio: remove ki_retried debugging member 2006-12-07 08:39:46 -08:00
aio_abi.h
amifd.h
amifdreg.h
amigaffs.h
apm_bios.h
arcdevice.h
arcfb.h
ata.h
atalk.h
atm.h
atm_eni.h
atm_he.h
atm_idt77105.h
atm_nicstar.h
atm_suni.h
atm_tcp.h
atm_zatm.h
atmapi.h
atmarp.h
atmbr2684.h
atmclip.h
atmdev.h
atmioc.h
atmlec.h
atmmpc.h
atmppp.h
atmsap.h
atmsvc.h
attribute_container.h
audit.h
auto_fs.h
auto_fs4.h
auxvec.h
awe_voice.h
ax25.h
b1lli.h
b1pcmcia.h
backing-dev.h
backlight.h
baycom.h
bcd.h
bfs_fs.h
binfmts.h
bio.h
bit_spinlock.h
bitmap.h
bitops.h
bitrev.h [PATCH] bit reverse library 2006-12-08 08:28:39 -08:00
blkdev.h
blkpg.h
blktrace_api.h
blockgroup_lock.h
bootmem.h [PATCH] remove HASH_HIGHMEM 2006-12-07 08:39:37 -08:00
bottom_half.h
bpqether.h
buffer_head.h
bug.h [PATCH] Generic BUG implementation 2006-12-08 08:28:39 -08:00
cache.h
calc64.h
capability.h
capi.h
cciss_ioctl.h
cd1400.h
cdev.h
cdk.h
cdrom.h
chio.h
circ_buf.h
clk.h
clocksource.h
cm4000_cs.h
cn_proc.h
cobalt-nvram.h
coda.h
coda_cache.h
coda_fs_i.h
coda_linux.h
coda_proc.h
coda_psdev.h
coff.h
com20020.h
compat.h
compat_ioctl.h
compiler-gcc.h
compiler-gcc3.h
compiler-gcc4.h
compiler-intel.h
compiler.h
completion.h
comstats.h
concap.h
configfs.h
connector.h
console.h
console_struct.h
consolemap.h
cpu.h Merge branch 'for-linus' of git://one.firstfloor.org/home/andi/git/linux-2.6 2006-12-07 08:59:11 -08:00
cpufreq.h
cpumask.h
cpuset.h [PATCH] struct seq_operations and struct file_operations constification 2006-12-07 08:39:46 -08:00
cramfs_fs.h
cramfs_fs_sb.h
crash_dump.h
crc-ccitt.h
crc16.h
crc32.h [PATCH] crc32: replace bitreverse by bitrev32 2006-12-08 08:28:39 -08:00
crc32c.h
crypto.h
cryptohash.h
ctype.h
cuda.h
cyclades.h
cyclomx.h
cycx_cfm.h
cycx_drv.h
cycx_x25.h
dcache.h
dccp.h
dcookies.h
debug_locks.h [PATCH] lockdep: show more details about self-test failures 2006-12-07 08:39:43 -08:00
debugfs.h
delay.h
delayacct.h
device-mapper.h [PATCH] dm: suspend: add noflush pushback 2006-12-08 08:29:09 -08:00
device.h
devpts_fs.h
dio.h
dirent.h
dlm.h
dlm_device.h
dm-ioctl.h [PATCH] dm: ioctl: add noflush suspend 2006-12-08 08:29:09 -08:00
dm9000.h
dma-mapping.h
dmaengine.h
dmapool.h
dmi.h
dn.h
dnotify.h
dqblk_v1.h
dqblk_v2.h
dqblk_xfs.h
ds1286.h
ds1742rtc.h
ds17287rtc.h
dtlk.h
edd.h
efi.h
efs_dir.h
efs_fs.h
efs_fs_i.h
efs_fs_sb.h
efs_vh.h
eisa.h
elevator.h
elf-em.h
elf-fdpic.h
elf.h [PATCH] elf.h: forward declare struct file 2006-12-07 08:39:48 -08:00
elfcore.h
elfnote.h
err.h
errno.h
errqueue.h
etherdevice.h
ethtool.h
eventpoll.h
ext2_fs.h
ext2_fs_sb.h
ext3_fs.h
ext3_fs_i.h
ext3_fs_sb.h
ext3_jbd.h [PATCH] ext3: uninline large functions 2006-12-07 08:39:35 -08:00
ext4_fs.h
ext4_fs_extents.h
ext4_fs_i.h
ext4_fs_sb.h
ext4_jbd2.h [PATCH] ext4: uninline large functions 2006-12-07 08:39:35 -08:00
fadvise.h
fault-inject.h [PATCH] fault-injection: defaults likely to please a new user 2006-12-08 08:29:03 -08:00
fb.h [PATCH] fbcmap.c: mark structs const or __read_mostly 2006-12-08 08:29:05 -08:00
fcdevice.h
fcntl.h
fd.h
fd1772.h
fddidevice.h
fdreg.h
fib_rules.h
file.h [PATCH] fdtable: Implement new pagesize-based fdtable allocator 2006-12-10 09:57:22 -08:00
filter.h
firmware.h
flat.h
font.h
freezer.h [PATCH] freezer.h uses task_struct fields 2006-12-10 09:55:40 -08:00
fs.h [PATCH] VFS: change struct file to use struct path 2006-12-08 08:28:41 -08:00
fs_enet_pd.h
fs_stack.h [PATCH] fsstack: Introduce fsstack_copy_{attr,inode}_* 2006-12-08 08:28:40 -08:00
fs_struct.h
fs_uart_pd.h
fsl_devices.h
fsnotify.h [PATCH] VFS: change struct file to use struct path 2006-12-08 08:28:41 -08:00
fuse.h
futex.h [PATCH] Fix noise in futex.h 2006-12-10 09:55:41 -08:00
gameport.h
gen_stats.h
genalloc.h
generic_acl.h
generic_serial.h [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
genetlink.h
genhd.h [PATCH] fault-injection capability for disk IO 2006-12-08 08:29:02 -08:00
getcpu.h
gfp.h
gfs2_ondisk.h
gigaset_dev.h
hardirq.h
harrier_defs.h
hash.h
hayesesp.h
hdlc.h
hdlcdrv.h
hdpu_features.h
hdreg.h
hdsmart.h
hid-debug.h [PATCH] Generic HID layer - code split 2006-12-08 10:43:01 -08:00
hid.h [PATCH] Generic HID layer - pb_fnmode 2006-12-08 10:43:19 -08:00
hiddev.h
highmem.h
highuid.h
hil.h
hil_mlc.h
hippidevice.h
hp_sdc.h
hpet.h
hrtimer.h
htirq.h
hugetlb.h
hw_random.h
hwmon-sysfs.h
hwmon-vid.h
hwmon.h
hysdn_if.h
i2c-algo-bit.h
i2c-algo-ite.h
i2c-algo-pca.h
i2c-algo-pcf.h
i2c-algo-sgi.h
i2c-dev.h
i2c-id.h
i2c-isa.h
i2c-ocores.h
i2c-pxa.h
i2c.h
i2o-dev.h
i2o.h [PATCH] kernel-doc: fix fusion and i2o docs 2006-12-07 08:39:40 -08:00
i8k.h
ibmtr.h
icmp.h
icmpv6.h
ide.h [PATCH] ide-cd: Handle strange interrupt on the Intel ESB2 2006-12-10 09:57:20 -08:00
idr.h
if.h
if_addr.h [NETLINK]: Put {IFA,IFLA}_{RTA,PAYLOAD} macros back for userspace. 2006-12-08 17:19:33 -08:00
if_arcnet.h
if_arp.h
if_bonding.h
if_bridge.h
if_cablemodem.h
if_ec.h
if_eql.h
if_ether.h
if_fc.h
if_fddi.h
if_frad.h
if_hippi.h
if_infiniband.h
if_link.h [NETLINK]: Put {IFA,IFLA}_{RTA,PAYLOAD} macros back for userspace. 2006-12-08 17:19:33 -08:00
if_ltalk.h
if_packet.h
if_plip.h
if_ppp.h
if_pppox.h
if_shaper.h
if_slip.h
if_strip.h
if_tr.h
if_tun.h
if_tunnel.h
if_vlan.h
if_wanpipe.h
if_wanpipe_common.h
igmp.h
in.h
in6.h
in_route.h
inet.h
inet_diag.h
inetdevice.h
init.h
init_task.h [PATCH] fdtable: Remove the free_files field 2006-12-10 09:57:22 -08:00
initrd.h
inotify.h
input.h
interrupt.h [PATCH] sched: use softirq for load balancing 2006-12-10 09:55:42 -08:00
io.h
ioc3.h
ioc4.h
ioctl.h
ioctl32.h
ioport.h
ioprio.h
ip.h
ip6_tunnel.h
ip_mp_alg.h
ipc.h
ipmi.h [PATCH] IPMI: Add maintenance mode 2006-12-07 08:39:47 -08:00
ipmi_msgdefs.h [PATCH] IPMI: Fix BT long busy 2006-12-07 08:39:47 -08:00
ipmi_smi.h [PATCH] IPMI: Add maintenance mode 2006-12-07 08:39:47 -08:00
ipsec.h
ipv6.h
ipv6_route.h
ipx.h
irda.h
irq.h
irq_cpustat.h
irqflags.h
irqreturn.h
isa.h
isapnp.h
isdn.h [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
isdn_divertif.h
isdn_ppp.h
isdnif.h
isicom.h
iso_fs.h
istallion.h [PATCH] Char: istallion, variables cleanup 2006-12-08 08:29:00 -08:00
ixjuser.h
jbd.h [PATCH] make fs/jbd/transaction.c:__journal_temp_unlink_buffer() static 2006-12-07 08:39:40 -08:00
jbd2.h [PATCH] make fs/jbd2/transaction.c:__kbd2_journal_temp_unlink_buffer() static 2006-12-07 08:39:40 -08:00
jffs.h
jffs2.h
jhash.h
jiffies.h
journal-head.h
joystick.h
kallsyms.h
kbd_diacr.h
kbd_kern.h
Kbuild [PATCH] Fix noise in futex.h 2006-12-10 09:55:41 -08:00
kd.h
kdev_t.h
kernel.h [PATCH] LOG2: Alter roundup_pow_of_two() so that it can use a ilog2() on a constant 2006-12-08 08:28:51 -08:00
kernel_stat.h
kernelcapi.h
kexec.h Merge branch 'release' of master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6 2006-12-07 15:39:22 -08:00
key-ui.h
key.h
keyboard.h
keyctl.h
kfifo.h
klist.h
kmalloc_sizes.h
kmod.h
kobj_map.h
kobject.h
kprobes.h [PATCH] kprobes: enable booster on the preemptible kernel 2006-12-07 08:39:38 -08:00
kref.h
kthread.h
ktime.h [PATCH] ktime: Fix signed / unsigned mismatch in ktime_to_ns 2006-12-07 08:39:37 -08:00
lapb.h
latency.h
lcd.h
leds.h
libata.h
libps2.h
license.h
limits.h
linkage.h
linux_logo.h
list.h
llc.h
lm_interface.h
lock_dlm_plock.h
lockdep.h [PATCH] remove kernel/lockdep.c:lockdep_internal 2006-12-07 08:39:39 -08:00
log2.h [PATCH] LOG2: Alter roundup_pow_of_two() so that it can use a ilog2() on a constant 2006-12-08 08:28:51 -08:00
loop.h
lp.h
m41t00.h
m48t86.h
magic.h
major.h
matroxfb.h
mbcache.h
mc6821.h
mc146818rtc.h
mca-legacy.h
mca.h
memory.h
memory_hotplug.h
mempolicy.h
mempool.h
meye.h
migrate.h
mii.h
minix_fs.h
miscdevice.h
mm.h
mm_inline.h
mm_types.h
mman.h
mmtimer.h
mmzone.h [PATCH] struct seq_operations and struct file_operations constification 2006-12-07 08:39:46 -08:00
mnt_namespace.h [PATCH] rename struct namespace to struct mnt_namespace 2006-12-08 08:28:51 -08:00
mod_devicetable.h
module.h [PATCH] Generic BUG implementation 2006-12-08 08:28:39 -08:00
moduleloader.h
moduleparam.h [PATCH] Compile-time check re world-writeable module params 2006-12-07 08:39:34 -08:00
mount.h [PATCH] rename struct namespace to struct mnt_namespace 2006-12-08 08:28:51 -08:00
mpage.h
mqueue.h
mroute.h
msdos_fs.h
msg.h [PATCH] Fix the size limit of compat space msgsize 2006-12-07 08:39:38 -08:00
msi.h
mtio.h
mutex-debug.h
mutex.h [PATCH] lockdep: avoid lockdep warning in md 2006-12-08 08:28:39 -08:00
mv643xx.h
n_r3964.h
namei.h [PATCH] struct path: move struct path from fs/namei.c into include/linux 2006-12-08 08:28:40 -08:00
nbd.h [PATCH] nbd: show nbd client pid in sysfs 2006-12-07 08:39:47 -08:00
ncp.h
ncp_fs.h
ncp_fs_i.h
ncp_fs_sb.h
ncp_mount.h
ncp_no.h
neighbour.h
net.h
netdevice.h [NET]: Force a cache line split in hh_cache in SMP. 2006-12-08 17:19:29 -08:00
netfilter.h
netfilter_arp.h
netfilter_bridge.h
netfilter_decnet.h
netfilter_ipv4.h
netfilter_ipv6.h
netlink.h
netpoll.h
netrom.h
nfs.h
nfs2.h
nfs3.h
nfs4.h
nfs4_acl.h
nfs4_mount.h
nfs_fs.h
nfs_fs_i.h
nfs_fs_sb.h
nfs_idmap.h
nfs_mount.h
nfs_page.h
nfs_xdr.h
nfsacl.h
nfsd_idmap.h
nls.h
nmi.h
node.h
nodemask.h
notifier.h
nsc_gpio.h
nsproxy.h [PATCH] to nsproxy 2006-12-08 08:28:52 -08:00
nubus.h
numa.h
nvram.h
oom.h
oprofile.h
page-flags.h
pagemap.h
pagevec.h
param.h
parport.h
parport_pc.h
parser.h
pata_platform.h
patchkey.h
pci-acpi.h
pci.h
pci_hotplug.h
pci_ids.h [PATCH] Char: mxser_new, upgrade to 1.9.1 2006-12-08 08:28:53 -08:00
pci_regs.h
pcieport_if.h
percpu.h
percpu_counter.h
personality.h
pfkeyv2.h
pfn.h
pg.h
phonedev.h
phy.h
pid.h [PATCH] add child reaper to pid_namespace 2006-12-08 08:28:52 -08:00
pid_namespace.h [PATCH] add child reaper to pid_namespace 2006-12-08 08:28:52 -08:00
pipe_fs_i.h
pkt_cls.h
pkt_sched.h
pktcdvd.h [PATCH] pktcdvd: add sysfs and debugfs interface 2006-12-08 08:28:38 -08:00
platform_device.h
plist.h
pm.h
pm_legacy.h
pmu.h
pnp.h
pnpbios.h
poison.h
poll.h
posix-timers.h
posix_acl.h
posix_acl_xattr.h
posix_types.h
ppdev.h
ppp-comp.h
ppp_channel.h
ppp_defs.h
prctl.h
preempt.h
prefetch.h
prio_tree.h
proc_fs.h
profile.h [PATCH] sleep profiling 2006-12-07 08:39:36 -08:00
ps2esdi.h
ptrace.h
qic117.h
qnx4_fs.h
qnxtypes.h
quota.h
quotaio_v1.h
quotaio_v2.h
quotaops.h [PATCH] proper prototype for remove_inode_dquot_ref() 2006-12-07 08:39:44 -08:00
radeonfb.h
radix-tree.h
raid_class.h
ramfs.h
random.h
raw.h
rbtree.h
rcupdate.h
reboot.h
reboot_fixups.h
reiserfs_acl.h
reiserfs_fs.h [PATCH] struct path: rename Reiserfs's struct path 2006-12-08 08:28:40 -08:00
reiserfs_fs_i.h
reiserfs_fs_sb.h
reiserfs_xattr.h
relay.h [PATCH] struct seq_operations and struct file_operations constification 2006-12-07 08:39:46 -08:00
resource.h
resume-trace.h
rio.h
rio_drv.h
rio_ids.h
rio_regs.h
rmap.h
romfs_fs.h
root_dev.h
rose.h
route.h
rslib.h
rtc-v3020.h
rtc.h [PATCH] rtc: Add rtc_merge_alarm() 2006-12-10 09:55:40 -08:00
rtmutex.h [PATCH] lockdep: name some old style locks 2006-12-07 08:39:36 -08:00
rtnetlink.h [NETLINK]: Restore API compatibility of address and neighbour bits 2006-12-08 17:19:27 -08:00
rwsem-spinlock.h [PATCH] lockdep: name some old style locks 2006-12-07 08:39:36 -08:00
rwsem.h
sc26198.h
scatterlist.h
scc.h
sched.h [PATCH] sched: remove lb_stopbalance counter 2006-12-10 09:55:43 -08:00
screen_info.h
sctp.h
scx200.h
scx200_gpio.h
sdla.h
sdla_fr.h
seccomp.h
securebits.h
security.h
selection.h
selinux.h
selinux_netlink.h
sem.h
seq_file.h [PATCH] struct seq_operations and struct file_operations constification 2006-12-07 08:39:46 -08:00
seqlock.h
serial.h
serial167.h
serial_8250.h [PATCH] Exar quad port serial 2006-12-07 08:39:35 -08:00
serial_core.h [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
serial_ip3106.h
serial_reg.h
serialP.h
serio.h
shm.h
shmem_fs.h
signal.h
skbuff.h
slab.h
smb.h
smb_fs.h
smb_fs_i.h
smb_fs_sb.h
smb_mount.h
smbno.h
smp.h [PATCH] declare smp_call_function_single in generic code 2006-12-07 08:39:38 -08:00
smp_lock.h
snmp.h
socket.h
sockios.h
som.h
sonet.h
sonypi.h
sort.h
sound.h
soundcard.h
spinlock.h
spinlock_api_smp.h
spinlock_api_up.h
spinlock_types.h
spinlock_types_up.h
spinlock_up.h
srcu.h
stacktrace.h
stallion.h [PATCH] Char: stallion, variables cleanup 2006-12-08 08:28:59 -08:00
start_kernel.h
stat.h
statfs.h
stddef.h
stop_machine.h
string.h
stringify.h
superhyway.h
suspend.h
swap.h
swapops.h
synclink.h
sys.h
syscalls.h
sysctl.h [PATCH] sysctl: remove unused "context" param 2006-12-10 09:55:41 -08:00
sysdev.h
sysfs.h
sysrq.h
sysv_fs.h
task_io_accounting.h [PATCH] io-accounting: core statistics 2006-12-10 09:55:41 -08:00
task_io_accounting_ops.h [PATCH] io-accounting: core statistics 2006-12-10 09:55:41 -08:00
taskstats.h [PATCH] io-accounting: via taskstats 2006-12-10 09:55:41 -08:00
taskstats_kern.h [PATCH] taskstats: cleanup ->signal->stats allocation 2006-12-07 08:39:34 -08:00
tcp.h
telephony.h
termios.h
textsearch.h
textsearch_fsm.h
tfrc.h
thread_info.h
threads.h
ticable.h
tifm.h
time.h
timer.h [PATCH] round_jiffies infrastructure 2006-12-10 09:57:22 -08:00
times.h
timex.h
tiocl.h
tipc.h
tipc_config.h
topology.h [PATCH] sched: add option to serialize load balancing 2006-12-10 09:55:43 -08:00
toshiba.h
transport_class.h
trdevice.h
tsacct_kern.h
tty.h [PATCH] tty: switch to ktermios and new framework 2006-12-08 08:28:56 -08:00
tty_driver.h [PATCH] tty: switch to ktermios and new framework 2006-12-08 08:28:56 -08:00
tty_flip.h
tty_ldisc.h [PATCH] tty: switch to ktermios and new framework 2006-12-08 08:28:56 -08:00
types.h
uaccess.h Merge branch 'for-linus' of git://one.firstfloor.org/home/andi/git/linux-2.6 2006-12-07 08:59:11 -08:00
udf_fs.h
udf_fs_i.h
udf_fs_sb.h
udp.h
ufs_fs.h
ufs_fs_i.h
ufs_fs_sb.h
uinput.h
uio.h
ultrasound.h
umem.h
un.h
unistd.h
unwind.h
usb.h
usb_ch9.h
usb_gadget.h
usb_gadgetfs.h
usb_usual.h
usbdevice_fs.h
user.h
utime.h
uts.h
utsname.h
vermagic.h
vfs.h
via.h
video_decoder.h
video_encoder.h
videodev.h
videodev2.h
videotext.h
vmalloc.h
vmstat.h
vt.h
vt_buffer.h
vt_kern.h
wait.h
wanrouter.h
watchdog.h
wireless.h
workqueue.h Add "run_scheduled_work()" workqueue function 2006-12-07 09:28:19 -08:00
writeback.h
x25.h
xattr.h
xfrm.h [XFRM]: Fix XFRMGRP_REPORT to use correct multicast group. 2006-12-08 17:19:30 -08:00
yam.h
zconf.h
zlib.h
zorro.h
zorro_ids.h
zutil.h