Linked by diegocg on Sun 22nd Jul 2012 19:09 UTC
Linux Linux kernel 3.5 has been released. New features include support for metadata checksums in Ext4, userspace probes for performance profiling with systemtap/perf, a simple sandboxing mechanism that can filter syscalls, a new network queue management algorithm designed to fight bufferbloat, support for checkpointing and restoring TCP connections, support for TCP Early Retransmit (RFC 5827), support for android-style opportunistic suspend, btrfs I/O failure statistics, and SCSI over Firewire and USB. Here's the full list of changes.
Thread beginning with comment 527793
To read all comments associated with this story, please click here.
Android-style opportunistic suspend
by sb56637 on Mon 23rd Jul 2012 04:26 UTC
Member since:

"Android-style opportunistic suspend"
This looks interesting, anyone care to explain it in layman's terms?

Reply Score: 2

Elv13 Member since:

Tux can now go to bed more often, saving more energy for eventual world domination?

Is that ok?

Edited 2012-07-23 04:31 UTC

Reply Parent Score: 4

Alfman Member since:


As I understand it, on a very general level they've added a new synchronisation lock in the kernel, which is accessed directly by userspace applications to block sleep states. Once no userspace applications hold a lock, the entire system immediately enters a sleep state. These transitions occur very frequently as one receives input.

The thing about the google G1 hardware was that it only supported a system-wide sleep state, not per-device, which is why google built that into android. But most hardware can put individual components to sleep and wake them up individually on demand, and I argue is better than a system wide sleep. Someone please correct me if I'm wrong, but I think if any android application is using one device with a wake lock, then all active yet idle devices on the system remain awake during that interval.

Reply Parent Score: 4

sb56637 Member since:

Thanks for the explanation!

Reply Parent Score: 2