Reduced Android Logger RAM usage. TNX to sakindia123@xda for point.
Trying to FIX CRT anim when screen is OFF and WIFI OFF.
proc: enable writing to /proc/pid/mem

With recent changes there is no longer a security hazard with writing to
/proc/pid/mem.  Remove the #ifdef.

Signed-off-by: Stephen Wilson <wilsons@start.ca>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Nizar Lazuardy Firmansyah <nizar.digital@gmail.com>
Enabled CLEANCACHE. config.
More optimization for NEON flag.

If the selected floating-point hardware includes the NEON extension (e.g. -mfpu=`neon'),
note that floating-point operations are not generated by GCC's auto-vectorization pass unless -funsafe-math-optimizations is also specified.
This is because NEON hardware does not fully implement the IEEE 754 standard for floating-point arithmetic
(in particular denormal values are treated as zero), so the use of NEON instructions may lead to a loss of precision.
Workaround for an ICE introduced by gcc 4.6.2
(like it's being used in the 11/12 linaro toolchains)

This will compile lib/bitmap.c with -Os instead of -O2/-O3 and avoid the ICE (more information below)
Sooner or later this will ofcourse get reverted.

_ICE:

showp1984@jarvis:~/_android/pyra_kernel_srcs/pyramid-2.6.35_mr_LE$ arm-eabi-gcc -Wp,-MD,lib/.bitmap.o.d  -nostdinc -isystem /home/showp1984/_android/toolchain/android-toolchain-eabi/bin/../lib/gcc/arm-eabi/4.6.3/include -I/home/showp1984/_android/pyra_kernel_srcs/pyramid-2.6.35_mr_LE/arch/arm/include -Iinclude  -include include/generated/autoconf.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-msm/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -marm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=aapcs-linux -mno-thumb-interwork -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Werror -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack  -fgcse-lm -fgcse-sm -fsched-spec-load -fforce-addr -ffast-math -fsingle-precision-constant -mtune=cortex-a8 -marm -march=armv7-a -mfpu=neon -ftree-vectorize -funroll-loops -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(bitmap)"  -D"KBUILD_MODNAME=KBUILD_STR(bitmap)"  -c -o lib/bitmap.o lib/bitmap.c
lib/bitmap.c: In function 'bitmap_scnprintf':
lib/bitmap.c:400:1: internal compiler error: output_operand: invalid shift operand
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

commit 84cbcb9e3df658d021c735fc17054a8126d4e070 1 parent 18bfbb8f37
showp1984 authored 10 months ago

TNX VOKU for the find :)
TNX to VOKU! more kernel optimizations! more performance!

-> "On the ARM7, checking a single bit takes six cycles in the disassembly of the bit-counting loop shown in the leftmost column. The code size is only nine instructions. The unrolled version of the bit-counting loop checks four bits at a time, taking on average only three cycles per bit. However, the cost is the larger code size of fifteen instructions." - http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0205j/CJAJACCH.html

... and the "-mvectorize-with-neon-quad" || "-mvectorize-with-neon-double" Flag?

-> "GCC 4.4 does not support vectorization with varying vector sizes. By default, it vectorizes for doubleword registers only. You can instruct gcc to vectorize for quadword registers instead by specifying -mvectorize-with-neon-quad on the command line." -> http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dht0004a/ch01s04s03.html
Kernel 7.3 JB-MALI ONLY!
Fixed rare situation where reading touch gestures would not block until there's a new one reported.
netfilter: xt_qtaguid: report only uid tags to non-privileged processes

In the past, a process could only see its own stats (uid-based summary,
and details).
Now we allow any process to see other UIDs uid-based stats, but still
hide the detailed stats.

Change-Id: I7666961ed244ac1d9359c339b048799e5db9facc
Signed-off-by: JP Abgrall <jpa@google.com>
net: wireless: bcmdhd: Report proper mcs rate mask

Setting proper mcs rate mask allows to connect in 802.11n-only mode

Change-Id: Iffd47a60c92a74d29e42d81d79fa64463f5895c5
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: bcmdhd: Update wifi stack ps state if was changed

Change-Id: Ib1ee0b6ee05077d1ed6cfb578b6384dfc9787c81
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
 net: wireless: bcmdhd: Add print when power-save mode is OFF

Change-Id: Idc72198b2d59c76dd45ba918cef982bcd7b570ab
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>