View Single Post
  #17 (permalink)  
Old 01-14-2009, 11:13 AM
keaolyen's Avatar
keaolyen
PPCGeeks Regular
Offline
Location: Fremont, CA
 
Join Date: Dec 2008
Posts: 170
Reputation: 265
keaolyen is becoming a PPCGeeks regularkeaolyen is becoming a PPCGeeks regularkeaolyen is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Guide to changing your pagepool

Quote:
Originally Posted by FormerPalmOS View Post
There is a bit of misinformation here. The approach you are suggestion will indeed change the pagepool but it will always change it to a static value. There is no concept of an XXX size dynamic page pool. Dynamic means the device can use as much RAM as it wants for a pagepool.

The procedure above is changing the value that gets written into a memory manager structure that defines the pagepool size. In ARM assembly language the two bytes being changed represent a constant and a shift value. If the 2nd byte is 16, then the value is the first byte. If the 2nd byte is 15 then the value is 4x the first byte. Thus 02 15 = 08 16 = 8MB pagepool. If you want a dynamic page pool, use 00 15. This establishes the value of 0 written to the memory manager structure (00 16 will yield the same result). Adventuresome non-Verizon folks could try this and see how it goes. Verizon folks should probably NOT try this.
Thanks, this makes sense.

I was reading the first part but the values the OP had in his explanation didn't add up, this does.

Admin should sticky this somewhere, there seems to be a lot of confusion out there about how pagepool is calculated.
Reply With Quote