Re: [PATCH] VM tuning patch, take 2
From: Jonathan Morton <hidden>
Date: 2001-06-08 02:35:46
quoted
Or have you just found a bug in your own code? :)Yes, my code is also broken. It should be: progress = try_to_free_pages(gfp_mask); if (!progress) { if (gfp_mask & __GFP_IO) { wakeup_kswapd(1); goto try_again; } else return NULL; } else goto try_again; Also note that my code makes non-zero order allocations loop like mad here. You may want to fix that, too.
Sorry, I don't have time to fix anything else today - I'm already pressed for time on preparing a presentation for Philips Semiconductors (there's a cash prize involved). Explanation: I'm studying Computer Systems Engineering, so I get to do Electronics as well as Computing. -------------------------------------------------------------- from: Jonathan "Chromatix" Morton mail: chromi@cyberspace.org (not for attachments) The key to knowledge is not to rely on people to teach you it. GCS$/E/S dpu(!) s:- a20 C+++ UL++ P L+++ E W+ N- o? K? w--- O-- M++$ V? PS PE- Y+ PGP++ t- 5- X- R !tv b++ DI+++ D G e+ h+ r++ y+(*) -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/