Go Back   maemo.org - Talk > Talk > General
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2009-09-10, 01:49
allnameswereout's Avatar
allnameswereout allnameswereout is offline
 
Join Date: Jul 2008
Location: Netherlands
Posts: 3,397
Thanks!: 1,762
Thanked 1,212 Times in 748 Posts
Default Linux kernel 2.6.31 released

Linux kernel 2.6.31 is released. User-friendly changelog.

Some specific OMAP3 changes, but I think N900/Maemo5 will run Linux kernel 2.6.30 anyway.

Besides that I didn't see anything particularly interesting for N900/Maemo5 except this perhaps:

Quote:
1.3. Improve desktop interactivity under memory pressure

PROT_EXEC pages are pages that normally belong to some currently running executables and their linked libraries, they shall really be cached aggressively to provide good user experiences because if they aren't, the desktop applications will experience very long and noticeable pauses when the application's code path jumps to a part of the code which is not cached in memory and needs to be read from the disk, which is very slow. Due to some memory management scalability work in recent kernel versions, there're some (commonly used) workloads which can send these PROT_EXEC pages to the list of filesystem-backed pages (the ones used to map files) which are unactive and can get flushed out of the working set. The result is a desktop environment with poor interactivity: the applications become unresponsive too easily.

In this version, some heuristics have been used to make much harder to get the mapped executable pages out of the list of active pages. The result is an improved desktop experience: Benchmarks on memory tight desktops show clock time and major faults reduced by 50%, and pswpin numbers are reduced to ~1/3, that means X desktop responsiveness is doubled under high memory/swap pressure. Memory flushing benchmarks in a file server shows the number of major faults going from 50 to 3 during 10% cache hot reads. See the commit link for more details and benchmarks. Source
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
Reply With Quote
The Following 6 Users Say Thank You to allnameswereout For This Useful Post:
  #2  
Old 2009-09-10, 05:17
Bundyo's Avatar
Bundyo Bundyo is offline
 
Join Date: Oct 2007
Location: Bulgaria
Posts: 4,708
Thanks!: 7,443
Thanked 4,649 Times in 1,717 Posts
Default Re: Linux kernel 2.6.31 released

Yes, another minor detail is that Scratchbox is not working on 2.6.31.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
Reply With Quote
  #3  
Old 2009-09-10, 05:47
lma lma is offline
 
Join Date: Nov 2007
Posts: 2,802
Thanks!: 2,844
Thanked 4,491 Times in 1,616 Posts
Default Re: Linux kernel 2.6.31 released

Quote:
Originally Posted by allnameswereout View Post
I think N900/Maemo5 will run Linux kernel 2.6.30 anyway.
2.6.28 actually, at least according to the latest SDK.
Reply With Quote
The Following User Says Thank You to lma For This Useful Post:
  #4  
Old 2009-09-10, 05:56
arj arj is offline
 
Join Date: Jul 2008
Posts: 20
Thanks!: 4
Thanked 6 Times in 2 Posts
Default Re: Linux kernel 2.6.31 released

Interesting. This sounds like one step closer to fixing the thrashing hell.
Reply With Quote
  #5  
Old 2009-09-10, 06:50
ruskie ruskie is offline
 
Join Date: Aug 2009
Location: Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
Posts: 543
Thanks!: 23
Thanked 181 Times in 104 Posts
Default Re: Linux kernel 2.6.31 released

Hmm would be nice to get things like NILFS or ext4(not sure if .28 has that already out of experimental). Would be a better thing for flash devices I'd say
Reply With Quote
  #6  
Old 2009-09-10, 11:45
allnameswereout's Avatar
allnameswereout allnameswereout is offline
 
Join Date: Jul 2008
Location: Netherlands
Posts: 3,397
Thanks!: 1,762
Thanked 1,212 Times in 748 Posts
Default Re: Linux kernel 2.6.31 released

Quote:
Originally Posted by lma View Post
2.6.28 actually, at least according to the latest SDK.
Hmmm... yes. Its clear choice for reliability. Only reason I'd care for newer kernels is performance; not hardware support.

It is 2.6.28 with a huge diff/patch btw.
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
Reply With Quote
  #7  
Old 2009-09-10, 22:43
lma lma is offline
 
Join Date: Nov 2007
Posts: 2,802
Thanks!: 2,844
Thanked 4,491 Times in 1,616 Posts
Default Re: Linux kernel 2.6.31 released

Quote:
Originally Posted by allnameswereout View Post
It is 2.6.28 with a huge diff/patch btw.
Yeah, because it's debian-ised, and also contains the arm-linux patches plus Nokia-specific ones that haven't made it upstream yet. But version-wise it's still 2.6.28.
Reply With Quote
  #8  
Old 2009-09-10, 23:34
javispedro's Avatar
javispedro javispedro is offline
 
Join Date: Jan 2009
Location: Barcelona
Posts: 2,355
Thanks!: 2,145
Thanked 5,249 Times in 1,344 Posts
Default Re: Linux kernel 2.6.31 released

Quote:
Originally Posted by Bundyo View Post
Yes, another minor detail is that Scratchbox is not working on 2.6.31.
"Minor"? There go my plans of upgrading to this one!

Could you elaborate?
Reply With Quote
  #9  
Old 2009-09-11, 05:22
Bundyo's Avatar
Bundyo Bundyo is offline
 
Join Date: Oct 2007
Location: Bulgaria
Posts: 4,708
Thanks!: 7,443
Thanked 4,649 Times in 1,717 Posts
Default Re: Linux kernel 2.6.31 released

Quote:
Originally Posted by javispedro View Post
"Minor"? There go my plans of upgrading to this one!

Could you elaborate?
http://lists.scratchbox.org/pipermai...st/001521.html

It gives mmap: permission denied with the setting in sysctl.conf. I wasn't able to fix it at all with the provided solutions.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
Reply With Quote
The Following User Says Thank You to Bundyo For This Useful Post:
  #10  
Old 2010-01-10, 19:42
scg scg is offline
 
Join Date: Feb 2008
Posts: 21
Thanks!: 7
Thanked 7 Times in 5 Posts
Default Re: Linux kernel 2.6.31 released

Quote:
Originally Posted by Bundyo View Post
http://lists.scratchbox.org/pipermai...st/001521.html

It gives mmap: permission denied with the setting in sysctl.conf. I wasn't able to fix it at all with the provided solutions.
This problem is solved in newer versions of scratchbox and qemu. You might want to update to the latest scratchbox manually or

+ install Maemo 5 SDK
+ install cs2007q3-glibc2.5-arm6 and -i486 toolchains into scratchbox
+ modify and run the maemo4-sdk-installer (see attached patch)
+ select the DIABLO_ARMEL target

and start compiling again.
Attached Files
File Type: txt maemo4.1.2-sdk-install.txt (3.4 KB, 187 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 20:29.