View Single Post
  #34 (permalink)  
Old 01-16-2009, 08:27 AM
FormerPalmOS's Avatar
FormerPalmOS
Regular 'Geeker
Offline
Location: Far far away...
 
Join Date: Nov 2008
Posts: 359
Reputation: 1355
FormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Guide to changing your pagepool

Quote:
Originally Posted by gguruusa View Post
Nah, we all agree that dynamic means something about allocating on demand. What isn't clear to me is that FormerPalmOS's statement about how it is configured is correct. For example, maybe Dynamic(12) means dynamic, max of 12 MB. Or maybe Dynamic(12) means dynamic, minimum of 12 MB. I haven't seen anything official that says exactly how dynamic works in current kernels. It just doesn't strike me as reasonable that Microsoft would have modified the pagepool configuraton stuff for no apparent gain in flexibility.
Good points - looking at it that way the pagepool is always dynamic in that it doesn't take what it doesn't need. But you don't get back what it isn't using if you have a size set.

All I've looked at so-far is the code for the Verizon TP. Before modification it checks some value and based on that value writes either 0xC0000 or 0x60000 to an address that everyone seems to agree sets the pagepool size. On my phone it ends up getting set to 6 so by changing the 0x60000 in the code to 0xC0000 in the code, I get 0xC0000 no matter what.

What the phone does after that, I have no idea. It could very well be what you are saying - dynamic up to 12MB. But with this value at 12MB, even if only 4MB has been allocated, I don't get the other 8MB back for program memory. But it will never go past 12MB. My understanding is that with a size of 0MB, I get whatever it isn't using as program memory, but there is no limit to how much it may use.

Again - my observations and comments are limited to a study of one device. I assume you have looked at many more devices than I have.
__________________
ROM: WM6.5 nk.exe (Da_G), sys 23518 (Da_G), VZW OEM pack (scrosler)
Apps: Manila 2.1 (yozgatag), Leo dialer (pyrorob)
Reply With Quote