Skip to contentSkip to conversation

Basic MM question

DISCUSSION Dave McCracken 2 participants 2 messages Jul 18, 2001 Memory management

lore
Share & tools
lore
#0 lore raw

My apologies if this is a newbie question. I'm still trying to figure out the fine points of how MM works.

Why does read_swap_cache_async use GFP_USER as opposed to GFP_HIGHUSER for swapped in pages? Is there some characteristic of reading swap pages that doesn't allow use of highmem? Since anonymous pages can be allocated from highmem, it seems to me it would make sense to also allow highmem pages once they've been swapped out and back in.

Dave McCracken

======================================================================
Dave McCracken IBM Linux Base Kernel Team 1-512-838-3059
[email protected] T/L 678-3059

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/

#1 lore raw
Quoted 5 lines · Dave McCracken

My apologies if this is a newbie question. I'm still trying to figure out the fine points of how MM works.

Why does read_swap_cache_async use GFP_USER as opposed to GFP_HIGHUSER for swapped in pages?

You may not have figured out how the VM works, but you sure figured out why it isn't currently working as expected ;)

This is a bug, thanks for tracking it down.

Rik
--
Virtual memory is like a game you can't win; However, without VM there's truly nothing to lose...

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

Send all your spam to [email protected] (spam digging piggy)

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/