FORUMS

[KERNEL] KING's Kernel

2,209 posts
Thanks Meter: 5,021
 
By KINGbabasula, Recognized Developer on 10th May 2014, 04:23 PM
Post Reply Subscribe to Thread Email Thread
19th June 2014, 10:12 AM |#71  
KINGbabasula's Avatar
OP Recognized Developer
Flag Treviso
Thanks Meter: 5,021
 
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: 437
 
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: 5,021
 
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  
Paul L.'s Avatar
Senior Member
Flag Mendoza
Thanks Meter: 3,910
 
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
 
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: 3,005
 
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: 15
 
More
This kernel works on 4.4.4 AOSP?
19th December 2015, 10:43 PM |#78  
Junior Member
Thanks Meter: 1
 
More
Will this kernel work for 5.1.1? Would really like to increase the vibration level. Missing some calls because of it :/
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes