andre 3322e2fce2 Add VM_KMEM_SIZE_SCALE parameter set to 2 (50%) for all ARM platforms.
VM_KMEM_SIZE_SCALE specifies which fraction of the available physical
memory, after deduction of the kernel itself and other early statically
allocated memory, can be used for the kmem_map.  The kmem_map provides
for all UMA/malloc allocations in KVM space.

Previously ARM was using a fixed kmem_map size of (12*1024*1024) = 12MB
without regard to effectively available memory.  This is too small for
recent ARM SoC with more than 128MB of RAM.

For reference a description of others related kmem_map parameters:

 VM_KMEM_SIZE		default start size of kmem_map if SCALE is
			not defined
 VM_KMEM_SIZE_MIN	hard floor on the kmem_map size
 VM_KMEM_SIZE_MAX	hard ceiling on the kmem_map size
 VM_KMEM_SIZE_SCALE	fraction of the available real memory to
			be used for the kmem_map, limited by the
			MIN and MAX parameters.

Tested by:	ian
MFC after:	1 week
2013-02-01 10:26:31 +00:00
..
2012-08-15 03:03:03 +00:00
2012-08-15 03:03:03 +00:00
2012-06-14 14:38:55 +00:00
2012-06-13 05:02:51 +00:00
2012-06-13 05:02:51 +00:00
2012-06-13 05:02:51 +00:00
2012-08-15 03:03:03 +00:00
2012-06-13 05:02:51 +00:00
2012-06-13 05:02:51 +00:00
2012-06-13 05:02:51 +00:00
2012-06-13 05:02:51 +00:00
2012-08-15 03:03:03 +00:00
2012-08-15 03:03:03 +00:00
2012-08-15 03:03:03 +00:00
2013-01-17 09:52:35 +00:00
2012-06-13 05:02:51 +00:00
2012-08-15 03:03:03 +00:00
2012-06-13 05:02:51 +00:00
2012-08-15 03:03:03 +00:00
2012-06-13 05:02:51 +00:00
2012-08-15 03:03:03 +00:00
2012-08-15 03:03:03 +00:00
2012-12-19 00:24:31 +00:00