www. O S N E W S .com
News Features Interviews
BlogContact Editorials
.
Linux 3.5 released
By special contributor diegocg on 2012-07-22 19:09:08
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.
 Email a friend - Printer friendly - Related stories
.
Read Comments: 1-10 -- 11-18
.
Wake Locks
By Alfman on 2012-07-22 20:20:00
Here's a description of the controversial wake locks being merged from android.

http://lwn.net/images/pdf/suspen...

My somewhat disconnected opinion is that the overall design seems to be a kludge. but the link apparently mentions google's G1 reference hardware had inadequate power management functionality which must have influenced their design.
Permalink - Score: 2
.
Comment by orestes
By orestes on 2012-07-22 21:27:54
Looks like some seriously nice performance boosts for the open source radeon drivers
Permalink - Score: 2
.
uprobes
By ideasman42 on 2012-07-22 23:11:23
uprobes look handy for testing application performance.
Permalink - Score: 3
.
RE: uprobes
By MechaShiva on 2012-07-23 01:38:22
That's what she said!

(sorry. couldn't help it.)
Permalink - Score: 0
.
RE: Wake Locks
By Soulbender on 2012-07-23 03:52:53
> My somewhat disconnected opinion is that the overall design seems to be a kludge

In other words, a perfect fit for the Linux kernel :P
Permalink - Score: 3
.
Android-style opportunistic suspend
By sb56637 on 2012-07-23 04:26:03
"Android-style opportunistic suspend"
This looks interesting, anyone care to explain it in layman's terms?
Permalink - Score: 2
.
RE: Android-style opportunistic suspend
By Elv13 on 2012-07-23 04:31:35
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
Permalink - Score: 4
.
RE[2]: Wake Locks
By Alfman on 2012-07-23 04:38:01
Well, we know that there was a lot of pressure to merge google's drivers, which are incompatible without these new wake locks, and I suspect that's the prime reason these are being pushed into mainline.

I dislike that it's a system wide lock, it's a step back from the fine grained sleep states already supported by linux. It also adds a tight coupling between userspace and kernel. Now ordinary user space apps like gmail and google maps on android are responsible for system-wide power management, which seems silly to me.

Whatever the PM problems were with google's reference hardware, they should have fixed the hardware instead of adding these crazy wake locks.
Permalink - Score: 5
.
RE: Android-style opportunistic suspend
By Alfman on 2012-07-23 04:59:00
sb56637,

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.
Permalink - Score: 4
.
RE: Wake Locks
By Valhalla on 2012-07-23 05:14:40
AFAIK the original controversy was that the Linux devs thought Android's suspend mechanism (suspend blockers) was too aggressive and therefore the Linux devs instead created 'autosleep' and 'wake locks' which offers a similar functionality but in a more flexible(?) way and are hoping that the Android devs will use these features instead of suspend blockers, they've also made the API mimic the suspend blocker API so as to make it as easy as possible for the Android devs to pick up.
Permalink - Score: 3

Read Comments 1-10 -- 11-18

No new comments are allowed for stories older than 10 days.
This story is now archived.

.
News Features Interviews
BlogContact Editorials
.
WAP site - RSS feed
© OSNews LLC 1997-2007. All Rights Reserved.
The readers' comments are owned and a responsibility of whoever posted them.
Prefer the desktop version of OSNews?