FORUMS

Time-Lapse with ChronoSnap – XDA App Review

Some of the most interesting pictures are time-lapse animations that capture the … more

XeroAsh Theme for CM12

This theme by XDA Senior Member balrajs99 features a black and slate gray UI that gives your phone a … more

Samsung Galaxy S6 To Receive Major Camera Update

When the Samsung Galaxy S6 and S6 Edge were launched, they became the prime focus for … more

Tactile: An Addicting Game with Beautiful Material Design

The game industry has been around for decades, catering to a wide … more
Post Reply Subscribe to Thread Email Thread

[kernel patches,performance] lock contention, removal - other tweaks

13th April 2014, 09:37 PM |#1  
zacharias.maladroit's Avatar
OP Retired Recognized Developer
Flag Vienna
Thanks Meter: 2,222
 
Donate to Me
More
Greetings to all


since I just recently stumbled upon the following kernel patchset [PATCH] mm/vmalloc: Introduce DEBUG_VMALLOCINFO to reduce spinlock contention]

and am successfully running it on my desktop kernel (3.13) with significant smoothness and interactivity improvements

I'd thought - why not let others on XDA know about it

http://marc.info/?l=linux-mm&m=139714810128208&w=2

I'm not sure if it'll apply cleanly to AOSP, AOKP, CM11, or stock kernel source of the G-Pad 8.3

but it's good to have it at the back of one's mind, that there's even more potential for smoothness


Within the following days I'll see if I can find additional improvement related to 3.4 kernel source and especially our device

but there's not much time due to studies & job - nevertheless I'll try to do my best to contribute to make the experience on this device the best as possible (how I miss the good ol' days on the SGS, GT-i9000 )



edit:

in a nutshell I'll add & post additional patches or patchsets to this thread

@mods:

if this is the wrong subforum I apologize in advance and please move the thread to the relevant sub-forum as you see fit - thanks !
Last edited by zacharias.maladroit; 13th April 2014 at 10:13 PM.
The Following 2 Users Say Thank You to zacharias.maladroit For This Useful Post: [ View ]
 
 
13th April 2014, 10:00 PM |#2  
Senior Member
Thanks Meter: 90
 
More
I couldn't find what I need to flash.


Sent from my iPhone using Tapatalk
13th April 2014, 10:14 PM |#3  
zacharias.maladroit's Avatar
OP Retired Recognized Developer
Flag Vienna
Thanks Meter: 2,222
 
Donate to Me
More
Quote:
Originally Posted by EdenGottlieb

I couldn't find what I need to flash.


Sent from my iPhone using Tapatalk

apologies,

added patches to the tile

there's no kernel yet available with that patchset included
13th April 2014, 10:17 PM |#4  
Senior Member
Thanks Meter: 90
 
More
Quote:
Originally Posted by zacharias.maladroit

apologies,

added patches to the tile

there's no kernel yet available with that patchset included


Oh, ok. Looking forward for the result! Good luck with the coding!


Sent from my iPhone using Tapatalk
The Following User Says Thank You to EdenGottlieb For This Useful Post: [ View ]
14th April 2014, 12:23 AM |#5  
zacharias.maladroit's Avatar
OP Retired Recognized Developer
Flag Vienna
Thanks Meter: 2,222
 
Donate to Me
More
Quote:
Originally Posted by EdenGottlieb

Oh, ok. Looking forward for the result! Good luck with the coding!


Sent from my iPhone using Tapatalk

thanks,

ok, just inspected it and only a part of the changes apply (after applying manually)

so it's probably not worth it (the first mentioned patch),

Quote:

patch -p1 --dry-run < /home/user/kernel-development/3.13.x/mm_fixes/\[PATCH\]\ mm_vmalloc\:\ Introduce\ DEBUG_VMALLOCINFO\ to\ reduce\ spinlock\ contention.txt
checking file lib/Kconfig.debug
Hunk #1 succeeded at 740 with fuzz 2 (offset 248 lines).
checking file mm/vmalloc.c
Hunk #1 FAILED at 1988.
Hunk #2 FAILED at 2020.
Hunk #3 FAILED at 2070.
Hunk #4 FAILED at 2101.
Hunk #5 succeeded at 2590 with fuzz 2 (offset 59 lines).
Hunk #6 FAILED at 2678.
Hunk #7 FAILED at 2690.
Hunk #8 FAILED at 2724.
7 out of 8 hunks FAILED
patch unexpectedly ends in middle of line

will see what other patches could be candidates to use
16th April 2014, 08:30 PM |#6  
zacharias.maladroit's Avatar
OP Retired Recognized Developer
Flag Vienna
Thanks Meter: 2,222
 
Donate to Me
More
ok, just found out that around 3.4 kernel release I wasn't very actively following the lkml (linux kernel mailing list)

will see if I can follow up reading what changes occured and/or backport some newer changes (having some patches for 3.8+ kernel but most of those aren't interesting for embedded / android devices - I guess)
The Following User Says Thank You to zacharias.maladroit For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes