Nvidia and Robotics w/ Barrett Williams – XDA:DevCon 2014

Robotics continues to dominate our videos from this years XDA:DevCon 2014 in … more

Speed Up Deodexing with JoelDroid Batch Deodexer

Android 5.0 Lollipop brings many under-the-hood changes like changing the default compiler … more

Top 5 Apps for 2014 + Top Xposed Mod of 2014 – XDA TV

Its that time of year where you look back and remember the things that happened … more

NVIDIA SHIELD Tablet Gets Android 5.0.1, OTA Available

The NVIDIA SHIELD Tablet is the latest Android-powered device released by famed GPU … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP zacharias.maladroit

13th April 2014, 10:37 PM   |  #1  
zacharias.maladroit's Avatar
OP Retired Recognized Developer
Flag Vienna
Thanks Meter: 2,203
 
2,948 posts
Join Date:Joined: Oct 2010
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 11:13 PM.
The Following 2 Users Say Thank You to zacharias.maladroit For This Useful Post: [ View ]
13th April 2014, 11:00 PM   |  #2  
Senior Member
Thanks Meter: 86
 
405 posts
Join Date:Joined: Dec 2013
I couldn't find what I need to flash.


Sent from my iPhone using Tapatalk
13th April 2014, 11:14 PM   |  #3  
zacharias.maladroit's Avatar
OP Retired Recognized Developer
Flag Vienna
Thanks Meter: 2,203
 
2,948 posts
Join Date:Joined: Oct 2010
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, 11:17 PM   |  #4  
Senior Member
Thanks Meter: 86
 
405 posts
Join Date:Joined: Dec 2013
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, 01:23 AM   |  #5  
zacharias.maladroit's Avatar
OP Retired Recognized Developer
Flag Vienna
Thanks Meter: 2,203
 
2,948 posts
Join Date:Joined: Oct 2010
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, 09:30 PM   |  #6  
zacharias.maladroit's Avatar
OP Retired Recognized Developer
Flag Vienna
Thanks Meter: 2,203
 
2,948 posts
Join Date:Joined: Oct 2010
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