Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,728,773 Members 53,129 Now Online
XDA Developers Android and Mobile Development Forum

[KERNEL] KING's Kernel

Tip us?
 
KINGbabasula
Old
(Last edited by KINGbabasula; 19th June 2014 at 09:19 AM.)
#71  
KINGbabasula's Avatar
Recognized Developer - OP
Thanks Meter 3260
Posts: 1,966
Join Date: Jan 2013
Location: Treviso

 
DONATE TO ME
Quote:
Originally Posted by Paul L. View Post
@KINGbabasula hey, why you don't add this? https://github.com/android/kernel_co...87e153197a454f

The changes are pretty simple to add a tunable that Android can access to free some memory when needed. This is the kernel used for, well, Nexus devices.


And I merged this on cm-11 kernel, pretty simple commit too.
https://github.com/alin23/render_ker...6f90c9e425f869
Becaus I didn't even know that commit exists I'll add it now, thanks.

Quote:
Originally Posted by tasosf View Post
Wifi refuses to turn on since I installed v. 6 (latest). On J-team AOSP...
Here it's working without problems
My Github

IF EVERYONE STARTS "JUST ASKING" IMAGINE THE MESS XDA WOULD BE

 
Toni5830
Old
#72  
Toni5830's Avatar
Senior Member
Thanks Meter 255
Posts: 484
Join Date: Jul 2012
Location: Somewhere over the Rainbow
Quote:
Originally Posted by Paul L. View Post
@KINGbabasula hey, why you don't add this? https://github.com/android/kernel_co...87e153197a454f

The changes are pretty simple to add a tunable that Android can access to free some memory when needed. This is the kernel used for, well, Nexus devices.


And I merged this on cm-11 kernel, pretty simple commit too.
https://github.com/alin23/render_ker...6f90c9e425f869
So we should edit this line
Code:
int extra_free_kbytes = 0;
and writee there how many kbytes we want the kernel to free? so until it's 0 this commit has no effect, right?
Do not seek for information
of which you cannot make use.

 
KINGbabasula
Old
#73  
KINGbabasula's Avatar
Recognized Developer - OP
Thanks Meter 3260
Posts: 1,966
Join Date: Jan 2013
Location: Treviso

 
DONATE TO ME
Quote:
Originally Posted by Toni5830 View Post
So we should edit this line
Code:
int extra_free_kbytes = 0;
and writee there how many kbytes we want the kernel to free? so until it's 0 this commit has no effect, right?
No. That's a sysfs interface. When it's declared that way in sysctl.c it will create the file declared in .procname in /proc/sys/vm . As .procname is "extra_free_kbytes" you will get this file /proc/sys/vm/extra_free_kbytes where you can edit the value
My Github

IF EVERYONE STARTS "JUST ASKING" IMAGINE THE MESS XDA WOULD BE

The Following User Says Thank You to KINGbabasula For This Useful Post: [ Click to Expand ]
 
Paul L.
Old
#74  
Paul L.'s Avatar
Senior Member
Thanks Meter 3742
Posts: 821
Join Date: Nov 2011
Location: Mendoza, Argentina
Quote:
Originally Posted by KINGbabasula View Post
No. That's a sysfs interface. When it's declared that way in sysctl.c it will create the file declared in .procname in /proc/sys/vm . As .procname is "extra_free_kbytes" you will get this file /proc/sys/vm/extra_free_kbytes where you can edit the value
Well, *supposedly* is for Android to ask the kernel to free some memory when needed; but you can also put a static value if you want.
Desire. Discipline. Dedication.
Devices:
Samsung Galaxy S Advance GT-I9070
Samsung Galaxy Mini GT-S5570
Acer Iconia Tab 500
Sony Xperia Live with Walkman
Motorola Defy
Motorola Moto G
 
Theyonut
Old
#75  
Theyonut's Avatar
Member
Thanks Meter 19
Posts: 72
Join Date: May 2013
wifi not working with AOSP 4.4.4. With previous build works fine
The Following User Says Thank You to Theyonut For This Useful Post: [ Click to Expand ]
 
Alberto97
Old
#76  
Alberto97's Avatar
Senior Member
Thanks Meter 871
Posts: 291
Join Date: Feb 2012
Location: is not working

 
DONATE TO ME
Quote:
Originally Posted by Theyonut View Post
wifi not working with AOSP 4.4.4. With previous build works fine
Impossible, it shouldn't works also with the "After Final" build, caused by the new kernel...
If I helped you, click Thanks
Sorry for my bad english

My Works:

Temporary CWM Recovery: S Advance/Ace II

Samsung Galaxy S Advance:
AOSP 4.4.4 - The Android Open Source Project

Motorola Moto G:
Carbon ROM 4.4.x

Join our community in Google Plus! Advances and other news from J-Team!
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes