Victor Surfer wrote:
[...]
In the for loop, the same logic repeats 4 times, why? Can it no repeat?
It's to improve performance; the magic keyword to lookup for more
information is 'loop unrolling'.
--
┌─── dg@cowlark.com ─ http://www.cowlark.com ─
│ Parents let children ride bicycles
Babak wrote:
David If you don't mind me asking what kernel version are you doing
this for?
It turns out that expert not in kernels = 2.6.37
Ah. I have 3.0.x.
I definitely recall something similar from older kernels, though --- all
the option does is enable a bunch of other options that most
On 07/06/12 02:08, Babak wrote:
In a patch that adds a kernel module, I see that it has the requirement
EXPERT. How do you enable this feature?
General setup - Configure standard kernel features.
For reference, if you do:
make nconfig
...it will build and run the fast ncurses based
Does anyone know how to get the Android cupcake source code? The
official repository only has tags going back as far as donut, and the
only links I've found all refer to the old, defunct, kernel.org repository.
--
┌─── dg@cowlark.com ─ http://www.cowlark.com ─
│ Parents let children ride
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
anshexp wrote:
[...]
i am new to android can anybody tell me what is the way to
build a particular module . i don't wana to build whole file system.
i tried
make $(LOCAL_MODULE) as given in build system document but it is not
working.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've been investigating how the Android EGL implementation handles power
management events (EGL terminology, nothing to do with real power
management) and unfortunately it seems to be all wrong.
Particularly, the spec says:
Following a power
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dianne Hackborn wrote:
[...]
If you turn off over-commit, I believe Android won't even boot on a G1,
because Linux would need to assume that RAM is needed for every mmapped()
thing, and we run out of it well before the system is fully up.
Not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David Turner wrote:
[...]
That can only be said for files that are mapped read-only. It doesn't apply
for
anything that is shared copy-on-write (e.g. the Zygote process pages, as
well
as initial heap) and non-file mappings.
Ah, I'd forgotten
Hello,
I was rather startled recently to notice that the standard Android
kernel appears to have the memory overcommit setting set to 1. This is
--- as far as I can tell, the numbering got changed not long ago and not
all the documentation has been updated --- these means 'allow all memory
problem I've got here is that an app can successfully
allocate memory which it then can't use. Memory overcommit hides memory
allocation failures from the app. The first the app knows that the
memory isn't available is when the OOM killer terminates it without warning!
--
David Given
d
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shashank wrote:
[...]
I guess I need some special permission inorder to write on the
partition. Can someone please point me to a way by which i can do
that?
I'm afraid that you just can't write to flash devices like that --- they
need special
what you mean by this, but if you mean that timer1
goes off at now+10, now+1, now+2 and another now+10, then the earliest
timer expiration is obviously going to be now+1.
- --
David Given
d...@cowlark.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG
single hardware timer to
wait for the one with the shortest timeout. After all, none of the other
timers can expire until that one expires first...
- --
David Given
d...@cowlark.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http
later and continue.
The fact that you've got multiple timers is irrelevant; we live in a
universe with only kind of time, so there's only one order in which
events can happen. The earliest event *must* happen before the later
events happen, so you only need to wait for the earliest event.
- --
David
14 matches
Mail list logo