Skip to contentSkip to conversation

Support for non cached memory mappings

PATCH Fillod Stephane 2 participants 2 messages Apr 24, 2008

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines · Gilles Chanteperdrix
Quoted 1 line

PS: any plan on a H_HUGETLB one of those days?

What would this do ?

Some embedded platforms have small TLB compared to the vm hungriness of certain real-time tasks. H_HUGETLB would reply on HugeTLB[1] backing for allocation. Scattered accesses to this memory would benefit in the lower pressure of minor page-faults/TLB refills, which is a good thing(tm) for real-time.

[1] linux/Documentation/vm/hugetlbpage.txt

Signature · 1 line
Stephane
#1 lore raw
Quoted 10 lines · Fillod Stephane
Quoted 3 lines · Gilles Chanteperdrix
Quoted 1 line

PS: any plan on a H_HUGETLB one of those days?

What would this do ?

Some embedded platforms have small TLB compared to the vm hungriness of certain real-time tasks. H_HUGETLB would reply on HugeTLB[1] backing for allocation. Scattered accesses to this memory would benefit in the lower pressure of minor page-faults/TLB refills, which is a good thing(tm) for real-time.

I do not understand the need for a kernel option and a special filesystem, why does not the kernel use these hugetlb pages upon large allocations ?

Signature · 1 line
 Gilles