This patch series simplifies pool management code and adds sysfd interface
to control pool functionality from sysfs.
Pool size reduction only happens when mm shrinker request for free
pages. To prevent pool from wasting too much free memory there is
user configureable maximum size. If pool tries t
Pauli Nieminen wrote:
> 2010/3/19 Thomas Hellström :
>
>> Pauli, Dave and Jerome,
>>
>> Before reviewing this, Could you describe a bit how this interfaces with the
>> TTM memory accounting. It's important for some systems to be able to set a
>> limit beyond which TTM may not pin any pages.
>>
>
2010/3/19 Thomas Hellström :
> Pauli, Dave and Jerome,
>
> Before reviewing this, Could you describe a bit how this interfaces with the
> TTM memory accounting. It's important for some systems to be able to set a
> limit beyond which TTM may not pin any pages.
>
> Am I right in assuming that TTM me
When allocating wc/uc pages cache state transition requires cache flush which
is expensive operation. To avoid cache flushes allocation of wc/uc pages should
be done in large groups when only single cache flush is required for whole group
of pages.
In some cases drivers need t oallocate and deallo
> Hi,
>
> Attached new version of pool allocator not much changed.
> - Use kmap_atomic_prot on highmem page to clear them if
> necessary (please check that i do use proper pgprot)
> - Force populate on cache change (discussed previously
> the reason for this).
> - Allocate structure to hold t
On Thu, 2009-08-06 at 22:53 +0200, Jerome Glisse wrote:
> Hi,
>
> Attached new version of pool allocator not much changed.
> - Use kmap_atomic_prot on highmem page to clear them if
> necessary (please check that i do use proper pgprot)
> - Force populate on cache change (discussed previously
>
Hi,
Attached new version of pool allocator not much changed.
- Use kmap_atomic_prot on highmem page to clear them if
necessary (please check that i do use proper pgprot)
- Force populate on cache change (discussed previously
the reason for this).
- Allocate structure to hold the pool informati