[Samsung Galaxy Nexus] aosp:
The logs told me the latest cpufreq commits are not nice ;)

<4>[ 476.434692] ------------[ cut here ]------------

<4>[ 476.434722] WARNING: at fs/sysfs/dir.c:455 sysfs_add_one+0xa8/0xc8()

<4>[ 476.434753] sysfs: cannot create duplicate filename '/devices/system/cpu/cpufreq/interactive'

<4>[ 476.434753] Modules linked in:

<4>[ 476.434783] Backtrace:

<4>[ 476.434814] [<a0063728>] (dump_backtrace+0x0/0x110) from [<a06c402c>] (dump_stack+0x18/0x1c)

<4>[ 476.434814] r6:a01d86c4 r5:00000009 r4:d020fc18 r3:00000000

<4>[ 476.434875] [<a06c4014>] (dump_stack+0x0/0x1c) from [<a00b5c78>] (warn_slowpath_common+0x5c/0x6c)

<4>[ 476.434906] [<a00b5c1c>] (warn_slowpath_common+0x0/0x6c) from [<a00b5cc0>] (warn_slowpath_fmt+0x38/0x40)

<4>[ 476.434906] r8:00000000 r7:d020fc58 r6:c7fd56f0 r5:c71c0000 r4:ffffffef

<4>[ 476.434936] r3:00000009

<4>[ 476.434967] [<a00b5c88>] (warn_slowpath_fmt+0x0/0x40) from [<a01d86c4>] (sysfs_add_one+0xa8/0xc8)

<4>[ 476.434967] r3:c71c0000 r2:a0848ae8

<4>[ 476.434997] [<a01d861c>] (sysfs_add_one+0x0/0xc8) from [<a01d8758>] (create_dir+0x74/0xe0)

<4>[ 476.435028] r7:d0895440 r6:00000001 r5:d0898870 r4:c7fd56f0

<4>[ 476.435058] [<a01d86e4>] (create_dir+0x0/0xe0) from [<a01d896c>] (sysfs_create_subdir+0x2c/0x34)

<4>[ 476.435058] r8:d0895440 r7:a0954c84 r6:00000000 r5:d0873cc0 r4:a0a311e0

<4>[ 476.435119] [<a01d8940>] (sysfs_create_subdir+0x0/0x34) from [<a01da0cc>] (internal_create_group+0x4c/0x238)

<4>[ 476.435150] [<a01da080>] (internal_create_group+0x0/0x238) from [<a01da2d0>] (sysfs_create_group+0x18/0x1c)

<4>[ 476.435150] r9:a0954c58 r8:0000583a r7:a090d8dc r6:a1273438 r5:d0873cc0

<4>[ 476.435180] r4:a0a311e0

<4>[ 476.435211] [<a01da2b8>] (sysfs_create_group+0x0/0x1c) from [<a04c2514>] (cpufreq_governor_interactive+0x2e8/0x334)

<4>[ 476.435241] [<a04c222c>] (cpufreq_governor_interactive+0x0/0x334) from [<a04b9c08>] (__cpufreq_governor+0xd0/0x1d8)

<4>[ 476.435272] [<a04b9b38>] (__cpufreq_governor+0x0/0x1d8) from [<a04bb8fc>] (__cpufreq_remove_dev+0x1cc/0x300)

<4>[ 476.435272] r9:a00571a0 r8:60000113 r7:a127a008 r6:a090de10 r5:00000001

<4>[ 476.435302] r4:d0873cc0

<4>[ 476.435333] [<a04bb730>] (__cpufreq_remove_dev+0x0/0x300) from [<a06c3c68>] (cpufreq_cpu_callback+0x8c/0x9c)

<4>[ 476.435363] [<a06c3bdc>] (cpufreq_cpu_callback+0x0/0x9c) from [<a00dcca4>] (notifier_call_chain+0x54/0xd8)

<4>[ 476.435363] r6:d020fe00 r5:a0967298 r4:ffffffda r3:a06c3bdc

<4>[ 476.435394] [<a00dcc50>] (notifier_call_chain+0x0/0xd8) from [<a00dce04>] (__raw_notifier_call_chain+0x1c/0x24)

<4>[ 476.435424] r8:a090d08c r7:00000000 r6:00000010 r5:a090d08c r4:00000001

<4>[ 476.435455] r3:ffffffff

<4>[ 476.435485] [<a00dcde8>] (__raw_notifier_call_chain+0x0/0x24) from [<a06b5ae0>] (_cpu_down+0x9c/0x284)

<4>[ 476.435516] [<a06b5a44>] (_cpu_down+0x0/0x284) from [<a00b7d54>] (disable_nonboot_cpus+0x8c/0x10c)

<4>[ 476.435546] [<a00b7cc8>] (disable_nonboot_cpus+0x0/0x10c) from [<a00f590c>] (suspend_devices_and_enter+0x15c/0x33c)

<4>[ 476.435546] r8:00000000 r7:00000003 r6:a0839c20 r5:a099fc4c r4:a099fc40

<4>[ 476.435577] r3:00000000

<4>[ 476.435607] [<a00f57b0>] (suspend_devices_and_enter+0x0/0x33c) from [<a00f5c10>] (enter_state+0x124/0x15c)

<4>[ 476.435607] r9:00000000 r8:d020e038 r7:a09676c4 r6:a0839c20 r5:00000003

<4>[ 476.435638] r4:00000000

<4>[ 476.435668] [<a00f5aec>] (enter_state+0x0/0x15c) from [<a00f5c64>] (pm_suspend+0x1c/0x28)

<4>[ 476.435699] r6:000041fc r5:a099fc50 r4:a0934978 r3:00000002

<4>[ 476.435729] [<a00f5c48>] (pm_suspend+0x0/0x28) from [<a00f6c6c>] (suspend+0x70/0x1b0)

<4>[ 476.435760] [<a00f6bfc>] (suspend+0x0/0x1b0) from [<a00d20a4>] (process_one_work+0x140/0x4c4)

<4>[ 476.435760] r9:00000000 r8:d020e038 r7:a09676c4 r6:d081da00 r5:a098e4c0

<4>[ 476.435791] r4:d0110d00

<4>[ 476.435821] [<a00d1f64>] (process_one_work+0x0/0x4c4) from [<a00d27b4>] (worker_thread+0x168/0x3b4)

<4>[ 476.435852] [<a00d264c>] (worker_thread+0x0/0x3b4) from [<a00d6b78>] (kthread+0x90/0x94)

<4>[ 476.435852] [<a00d6ae8>] (kthread+0x0/0x94) from [<a00b9bb4>] (do_exit+0x0/0x740)

<4>[ 476.435882] r6:a00b9bb4 r5:a00d6ae8 r4:d0831ecc

<4>[ 476.435913] Board Information: Tuna HW revision: 09 (Maguro 8th Sample), cpu OMAP4460 ES1.1

<4>[ 476.435913] ---[ end trace 8ce65a20a9ccbdf0 ]---

<3>[ 476.159973] BUG: sleeping function called from invalid context at kernel/mutex.c:85

<3>[ 476.160003] in_atomic(): 1, irqs_disabled(): 128, pid: 91, name: kworker/u:2

<4>[ 476.160003] Backtrace:

<4>[ 476.160064] [<a0063728>] (dump_backtrace+0x0/0x110) from [<a06c402c>] (dump_stack+0x18/0x1c)

<4>[ 476.160095] r6:00000002 r5:a083c9ac r4:d020e000 r3:60000193

<4>[ 476.160125] [<a06c4014>] (dump_stack+0x0/0x1c) from [<a00a35fc>] (__might_sleep+0x134/0x138)

<4>[ 476.160156] [<a00a34c8>] (__might_sleep+0x0/0x138) from [<a06cc770>] (mutex_lock+0x24/0x90)

<4>[ 476.160186] r5:d0873cc0 r4:a0a31214

<4>[ 476.160217] [<a06cc74c>] (mutex_lock+0x0/0x90) from [<a04c2460>] (cpufreq_governor_interactive+0x234/0x334)

<4>[ 476.160217] r4:d0873cc0 r3:a04c222c

<4>[ 476.160278] [<a04c222c>] (cpufreq_governor_interactive+0x0/0x334) from [<a04b9c08>] (__cpufreq_governor+0xd0/0x1d8)

<4>[ 476.160278] [<a04b9b38>] (__cpufreq_governor+0x0/0x1d8) from [<a04bb8d8>] (__cpufreq_remove_dev+0x1a8/0x300)

<4>[ 476.160308] r9:a00571a0 r8:60000113 r7:a127a008 r6:a090de10 r5:00000001

<4>[ 476.160339] r4:d0873cc0

<4>[ 476.160369] [<a04bb730>] (__cpufreq_remove_dev+0x0/0x300) from [<a06c3c68>] (cpufreq_cpu_callback+0x8c/0x9c)

<4>[ 476.160400] [<a06c3bdc>] (cpufreq_cpu_callback+0x0/0x9c) from [<a00dcca4>] (notifier_call_chain+0x54/0xd8)

<4>[ 476.160400] r6:d020fe00 r5:a0967298 r4:ffffffda r3:a06c3bdc

<4>[ 476.160461] [<a00dcc50>] (notifier_call_chain+0x0/0xd8) from [<a00dce04>] (__raw_notifier_call_chain+0x1c/0x24)

<4>[ 476.160461] r8:a090d08c r7:00000000 r6:00000010 r5:a090d08c r4:00000001

<4>[ 476.160491] r3:ffffffff

<4>[ 476.160522] [<a00dcde8>] (__raw_notifier_call_chain+0x0/0x24) from [<a06b5ae0>] (_cpu_down+0x9c/0x284)

<4>[ 476.160552] [<a06b5a44>] (_cpu_down+0x0/0x284) from [<a00b7d54>] (disable_nonboot_cpus+0x8c/0x10c)

<4>[ 476.160583] [<a00b7cc8>] (disable_nonboot_cpus+0x0/0x10c) from [<a00f590c>] (suspend_devices_and_enter+0x15c/0x33c)

<4>[ 476.160614] r8:00000000 r7:00000003 r6:a0839c20 r5:a099fc4c r4:a099fc40

<4>[ 476.160644] r3:00000000

<4>[ 476.160675] [<a00f57b0>] (suspend_devices_and_enter+0x0/0x33c) from [<a00f5c10>] (enter_state+0x124/0x15c)

<4>[ 476.160675] r9:00000000 r8:d020e038 r7:a09676c4 r6:a0839c20 r5:00000003

<4>[ 476.160705] r4:00000000

<4>[ 476.160736] [<a00f5aec>] (enter_state+0x0/0x15c) from [<a00f5c64>] (pm_suspend+0x1c/0x28)

<4>[ 476.160736] r6:000041fc r5:a099fc50 r4:a0934978 r3:00000002

<4>[ 476.160797] [<a00f5c48>] (pm_suspend+0x0/0x28) from [<a00f6c6c>] (suspend+0x70/0x1b0)

<4>[ 476.160827] [<a00f6bfc>] (suspend+0x0/0x1b0) from [<a00d20a4>] (process_one_work+0x140/0x4c4)

<4>[ 476.160827] r9:00000000 r8:d020e038 r7:a09676c4 r6:d081da00 r5:a098e4c0

<4>[ 476.160858] r4:d0110d00

<4>[ 476.160888] [<a00d1f64>] (process_one_work+0x0/0x4c4) from [<a00d27b4>] (worker_thread+0x168/0x3b4)

<4>[ 476.160919] [<a00d264c>] (worker_thread+0x0/0x3b4) from [<a00d6b78>] (kthread+0x90/0x94)

<4>[ 476.160949] [<a00d6ae8>] (kthread+0x0/0x94) from [<a00b9bb4>] (do_exit+0x0/0x740)

<4>[ 476.160949] r6:a00b9bb4 r5:a00d6ae8 r4:d0831ecc

<3>[ 476.160980] BUG: scheduling while atomic: kworker/u:2/91/0x00000002

<4>[ 476.161010] Modules linked in:

<4>[ 476.161010] Backtrace:

<4>[ 476.161041] [<a0063728>] (dump_backtrace+0x0/0x110) from [<a06c402c>] (dump_stack+0x18/0x1c)

<4>[ 476.161071] r6:d01f7000 r5:00000000 r4:00000000 r3:60000113

<4>[ 476.161102] [<a06c4014>] (dump_stack+0x0/0x1c) from [<a06c4280>] (__schedule_bug+0x64/0x68)

<4>[ 476.161132] [<a06c421c>] (__schedule_bug+0x0/0x68) from [<a06cb234>] (__schedule+0x8f4/0x98c)

<4>[ 476.161132] r4:d020e000 r3:00000000

<4>[ 476.161163] [<a06ca940>] (__schedule+0x0/0x98c) from [<a06cb31c>] (schedule+0x50/0x68)

<4>[ 476.161254] [<a06cb2cc>] (schedule+0x0/0x68) from [<a06cb9a8>] (schedule_timeout+0x1ec/0x338)

<4>[ 476.161285] [<a06cb7bc>] (schedule_timeout+0x0/0x338) from [<a06ca7f8>] (wait_for_common+0x16c/0x1f0)

<4>[ 476.161315] [<a06ca68c>] (wait_for_common+0x0/0x1f0) from [<a06ca894>] (wait_for_completion+0x18/0x1c)

<4>[ 476.161315] r9:a090de10 r8:a0057388 r7:a010b210 r6:00000000 r5:a0a31144

<4>[ 476.161346] r4:a0a3113c

<4>[ 476.161376] [<a06ca87c>] (wait_for_completion+0x0/0x1c) from [<a010b274>] (synchronize_sched+0x64/0x70)

<4>[ 476.161437] [<a010b210>] (synchronize_sched+0x0/0x70) from [<a00dc964>] (__synchronize_srcu+0x44/0xa4)

<4>[ 476.161468] [<a00dc920>] (__synchronize_srcu+0x0/0xa4) from [<a00dc9dc>] (synchronize_srcu+0x18/0x1c)

<4>[ 476.161468] r7:a090d8dc r6:00000002 r5:a0a31124 r4:00000000

<4>[ 476.161499] [<a00dc9c4>] (synchronize_srcu+0x0/0x1c) from [<a00dd500>] (srcu_notifier_chain_unregister+0x74/0xe8)

<4>[ 476.161529] [<a00dd48c>] (srcu_notifier_chain_unregister+0x0/0xe8) from [<a04b99c8>] (cpufreq_unregister_notifier+0x5c/0x64)

<4>[ 476.161560] r5:d0873cc0 r4:a0a311e0

<4>[ 476.161590] [<a04b996c>] (cpufreq_unregister_notifier+0x0/0x64) from [<a04c24e8>] (cpufreq_governor_interactive+0x2bc/0x334)

<4>[ 476.161621] [<a04c222c>] (cpufreq_governor_interactive+0x0/0x334) from [<a04b9c08>] (__cpufreq_governor+0xd0/0x1d8)

<4>[ 476.161651] [<a04b9b38>] (__cpufreq_governor+0x0/0x1d8) from [<a04bb8d8>] (__cpufreq_remove_dev+0x1a8/0x300)

<4>[ 476.161682] r9:a00571a0 r8:60000113 r7:a127a008 r6:a090de10 r5:00000001

<4>[ 476.161682] r4:d0873cc0

<4>[ 476.161712] [<a04bb730>] (__cpufreq_remove_dev+0x0/0x300) from [<a06c3c68>] (cpufreq_cpu_callback+0x8c/0x9c)

<4>[ 476.161743] [<a06c3bdc>] (cpufreq_cpu_callback+0x0/0x9c) from [<a00dcca4>] (notifier_call_chain+0x54/0xd8)

<4>[ 476.161773] r6:d020fe00 r5:a0967298 r4:ffffffda r3:a06c3bdc

<4>[ 476.161804] [<a00dcc50>] (notifier_call_chain+0x0/0xd8) from [<a00dce04>] (__raw_notifier_call_chain+0x1c/0x24)

<4>[ 476.161804] r8:a090d08c r7:00000000 r6:00000010 r5:a090d08c r4:00000001

<4>[ 476.161834] r3:ffffffff

<4>[ 476.161865] [<a00dcde8>] (__raw_notifier_call_chain+0x0/0x24) from [<a06b5ae0>] (_cpu_down+0x9c/0x284)

<4>[ 476.161895] [<a06b5a44>] (_cpu_down+0x0/0x284) from [<a00b7d54>] (disable_nonboot_cpus+0x8c/0x10c)

<4>[ 476.161926] [<a00b7cc8>] (disable_nonboot_cpus+0x0/0x10c) from [<a00f590c>] (suspend_devices_and_enter+0x15c/0x33c)

<4>[ 476.161956] r8:00000000 r7:00000003 r6:a0839c20 r5:a099fc4c r4:a099fc40

<4>[ 476.161987] r3:00000000

<4>[ 476.161987] [<a00f57b0>] (suspend_devices_and_enter+0x0/0x33c) from [<a00f5c10>] (enter_state+0x124/0x15c)

<4>[ 476.162017] r9:00000000 r8:d020e038 r7:a09676c4 r6:a0839c20 r5:00000003

<4>[ 476.162048] r4:00000000

<4>[ 476.162078] [<a00f5aec>] (enter_state+0x0/0x15c) from [<a00f5c64>] (pm_suspend+0x1c/0x28)

<4>[ 476.162078] r6:000041fc r5:a099fc50 r4:a0934978 r3:00000002

<4>[ 476.162109] [<a00f5c48>] (pm_suspend+0x0/0x28) from [<a00f6c6c>] (suspend+0x70/0x1b0)

<4>[ 476.162170] [<a00f6bfc>] (suspend+0x0/0x1b0) from [<a00d20a4>] (process_one_work+0x140/0x4c4)

<4>[ 476.162170] r9:00000000 r8:d020e038 r7:a09676c4 r6:d081da00 r5:a098e4c0

<4>[ 476.162200] r4:d0110d00

<4>[ 476.162231] [<a00d1f64>] (process_one_work+0x0/0x4c4) from [<a00d27b4>] (worker_thread+0x168/0x3b4)

<4>[ 476.162261] [<a00d264c>] (worker_thread+0x0/0x3b4) from [<a00d6b78>] (kthread+0x90/0x94)

<4>[ 476.162292] [<a00d6ae8>] (kthread+0x0/0x94) from [<a00b9bb4>] (do_exit+0x0/0x740)

<4>[ 476.162292] r6:a00b9bb4 r5:a00d6ae8 r4:d0831ecc