It's literally just this but instead of modifying the existing option someone added a new one
Читать полностью…
Modifying the original option or using KCFLAGS are your only options
Читать полностью…
Yeah i get that but i was hoping for menuconfig to actually specify using -O3 instead of -O2
Читать полностью…
That change is so simple and obvious that you shouldn't need to send a commit for it
Читать полностью…
wait, were u referring to setting Kcflags while building the kernel?
Читать полностью…
KCFLAGS is basically a replacement for what EXTRA_CFLAGS is supposed to already do because of some drivers setting EXTRA_CFLAGS themselves in their Makefiles instead of expanding regular CFLAGS like they were supposed to
Читать полностью…
Looking for O3 optimization level. only see O2
Читать полностью…
fuck, yeah you are right.
Been a while since i dabbled with the kernel
It's the same kernel but compiled for different architectures
Читать полностью…
Click on the button to see the chat rules!
Читать полностью…
How to find compatible clang and gcc versions
Читать полностью…
Hackbench, a program which measures the scheduler wake up latency and benchmarks pipe.
You can obtain it from benchkit module or build yourself (https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/tree/src/hackbench/hackbench.c?h=stable/devel/v1.0.1).
When running it's recommended to usehackbench -pTl 4000
rather than the old command as -p and -T don't take parameters. It's also preferred to run as su to get around seccomp lagging you out (or you can disable the Android seccomp filter).
You want your values to be as low as possible. Good luck!
Please share your results with the command you typed showing so we know what we're comparing to.
Roger, its just that i saw this on a running kernel
# CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE is not set
CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3=y
There is no option for it so you're out of luck
Читать полностью…
I thought he wanted a way to do it without modifying the kernel source lol
Читать полностью…
I didn't write all of this for nothing you know
Читать полностью…
I don't remember what option you had to set for O3, maybe there even is none in which case you should type KCFLAGS="-O3" before make
Читать полностью…
What's meant by ARC here?Depends on: <choice> && ARC
Anyways, it is and was make menuconfig
Читать полностью…
There is no x86 kernel, it's the Linux kernel, you seem to be confused about some things
Читать полностью…
Does the Android kernel have something similar to x86 kernel's configuration menu?
Читать полностью…
Click on the button to see the chat rules!
Читать полностью…
By reading the README provided by Samsung, obviously
Читать полностью…
If you're doing an inline build with a rom, there's some variable you have to set
Читать полностью…