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] KING's Kernel

OP KINGbabasula

19th June 2014, 10:12 AM   |  #71  
KINGbabasula's Avatar
OP Recognized Developer
Flag Treviso
Thanks Meter: 4,230
 
2,188 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Quote:
Originally Posted by Paul L.

@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

Wifi refuses to turn on since I installed v. 6 (latest). On J-team AOSP...

Here it's working without problems
Last edited by KINGbabasula; 19th June 2014 at 10:19 AM.
19th June 2014, 10:25 AM   |  #72  
Toni5830's Avatar
Senior Member
Flag Somewhere over the Rainbow
Thanks Meter: 408
 
569 posts
Join Date:Joined: Jul 2012
More
Quote:
Originally Posted by Paul L.

@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?
19th June 2014, 10:31 AM   |  #73  
KINGbabasula's Avatar
OP Recognized Developer
Flag Treviso
Thanks Meter: 4,230
 
2,188 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Quote:
Originally Posted by Toni5830

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
The Following User Says Thank You to KINGbabasula For This Useful Post: [ View ]
20th June 2014, 12:14 PM   |  #74  
Senior Member
Flag Mendoza
Thanks Meter: 3,866
 
893 posts
Join Date:Joined: Nov 2011
More
Quote:
Originally Posted by KINGbabasula

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.
21st June 2014, 08:18 PM   |  #75  
Theyonut's Avatar
Member
Thanks Meter: 20
 
80 posts
Join Date:Joined: May 2013
More
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: [ View ]
22nd June 2014, 12:58 PM   |  #76  
Alberto97's Avatar
Senior Member
Flag is not working
Thanks Meter: 1,610
 
396 posts
Join Date:Joined: Feb 2012
Donate to Me
More
Quote:
Originally Posted by Theyonut

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...
2nd August 2014, 05:55 AM   |  #77  
Member
Thanks Meter: 8
 
53 posts
Join Date:Joined: Mar 2013
More
This kernel works on 4.4.4 AOSP?

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes