Patch for swap usage of high memory
Subsystems (2)
This patch fixes the problem where pages allocated for swap space reads will not be allocated from high memory.
Rik, could you please forward this to the kernel mailing list? I am temporarily unable to reach it directly due to ECN problems.
Thanks,
Dave McCracken
--------
mm/swap_state.c +0 -0
@@ -226,7 +226,7 @@
if (found_page) goto out_free_swap;
- new_page = alloc_page(GFP_USER);
+ new_page = alloc_page(GFP_HIGHUSER); if (!new_page) goto out_free_swap; /* Out of memory */
--------
======================================================================
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/