Skip to contentSkip to conversation

Rik van Riel's vm-rmap

DISCUSSION Louis Garcia 4 participants 9 messages Jan 28, 2002 – Jan 29, 2002

lore
Share & tools
lore
#0 lore raw

Does he still use classzones as the basis for the vm? I thought that linux was trying to get away from classzones for better NUMA support in 2.5??

--Louis

#1 lore raw
Quoted 3 lines · Louis Garcia

Does he still use classzones as the basis for the vm? I thought that linux was trying to get away from classzones for better NUMA support in 2.5??

rmap does not use the classzone concept.

Cheers,
Bill

#2 lore raw
In reply to Louis Garcia
Quoted 3 lines · Louis Garcia

Does he still use classzones as the basis for the vm? I thought that linux was trying to get away from classzones for better NUMA support in 2.5??

Nope. I've done a few modifications:

1) the IMHO inflexible classzone stuff has been removed

2) we have reverse mappings, so we can do our pageout scan by physical address

3) this in turn means the active, inactive_dirty and inactive_clean lists are per zone ... allowing us to scan only in those zones where we actually need to free pages

regards,

Rik

Signature · 4 lines
"Linux holds advantages over the single-vendor commercial OS"
    -- Microsoft's "Competing with Linux" document

http://www.surriel.com/		http://distro.conectiva.com/
#3 lore raw

Does this patch work well with Andrew's low-latency patch?

--Louis

Quoted 27 lines · Rik van Riel
Quoted 3 lines · Louis Garcia

Does he still use classzones as the basis for the vm? I thought that linux was trying to get away from classzones for better NUMA support in 2.5??

Nope. I've done a few modifications:

1) the IMHO inflexible classzone stuff has been removed

2) we have reverse mappings, so we can do our pageout scan by physical address

3) this in turn means the active, inactive_dirty and inactive_clean lists are per zone ... allowing us to scan only in those zones where we actually need to free pages

regards,

Rik

Signature · 4 lines
"Linux holds advantages over the single-vendor commercial OS"
    -- Microsoft's "Competing with Linux" document

http://www.surriel.com/		http://distro.conectiva.com/
#4 lore raw
Quoted 1 line · Louis Garcia

Does this patch work well with Andrew's low-latency patch?

There will be failed hunks in the VM code (specifically vmscan.c), but you can safely ignore them. So, yes, it works.

Robert Love

#5 lore raw

Should I do the rmap patch first?

--Louis

Quoted 8 lines · Robert Love
Quoted 1 line · Louis Garcia

Does this patch work well with Andrew's low-latency patch?

There will be failed hunks in the VM code (specifically vmscan.c), but you can safely ignore them. So, yes, it works.

Robert Love

#6 lore raw
Quoted 1 line · Louis Garcia

Should I do the rmap patch first?

Yes, if Andrew's low-latency patch fails you just lose the scheduling points in vmscan.c (big deal). If rmap half applies... ouch.

So apply rmap first.

Robert Love

#7 lore raw
In reply to Louis Garcia
Quoted 1 line · Louis Garcia

Should I do the rmap patch first?

Yes.

After that you can patch the low latency patch,
which will give you a reject on vmscan.c

This doesn't matter because:
1) each part of the low latency patch is independant
2) -rmap already has low latency code in vmscan.c

kind regards,

Rik

Signature · 4 lines
"Linux holds advantages over the single-vendor commercial OS"
    -- Microsoft's "Competing with Linux" document

http://www.surriel.com/		http://distro.conectiva.com/
#8 lore raw

Ok, has anyone ported the latest patch to 2.4.18-pre7 yet??

--Louis

Quoted 22 lines · Rik van Riel
Quoted 1 line · Louis Garcia

Should I do the rmap patch first?

Yes.

After that you can patch the low latency patch,
which will give you a reject on vmscan.c

This doesn't matter because:
1) each part of the low latency patch is independant
2) -rmap already has low latency code in vmscan.c

kind regards,

Rik

Signature · 4 lines
"Linux holds advantages over the single-vendor commercial OS"
    -- Microsoft's "Competing with Linux" document

http://www.surriel.com/		http://distro.conectiva.com/