[PATCH 05/10] vmscan: Remove unnecessary temporary vars in do_try_to_free_pages
Remove temporary variable that is only used once and does not help clarify code. Signed-off-by: Mel Gorman <mel(a)csn.ul.ie> --- mm/vmscan.c | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index 838ac8b..1ace7c6 100644 --- a/mm/vmscan.c +++ b/mm/vmsca... 15 Apr 2010 13:38
[RFC PATCH 00/10] Reduce stack usage used by page reclaim V1
This is just an RFC to reduce some of the more obvious stack usage in page reclaim. It's a bit rushed and I haven't tested this yet but am sending it out as there may be others working on similar material and would rather avoid overlap. I built on some of Kosaki Motohiro's work. On X86 bit, stack usage figures (g... 15 Apr 2010 13:38
[PATCH 04/10] vmscan: Remove useless loop at end of do_try_to_free_pages
With the patch "vmscan: kill prev_priority completely", the loop at the end of do_try_to_free_pages() is now doing nothing. Delete it. Signed-off-by: Mel Gorman <mel(a)csn.ul.ie> --- diff --git a/mm/vmscan.c b/mm/vmscan.c index 76c2b03..838ac8b 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -1806,11 +1806,6 @@... 15 Apr 2010 13:38
[PATCH 07/10] vmscan: Remove unnecessary temporary variables in shrink_zone()
Two variables are declared that are unnecessary in shrink_zone() as they already exist int the scan_control. Remove them Signed-off-by: Mel Gorman <mel(a)csn.ul.ie> --- mm/vmscan.c | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index a374879..a232ad6 1... 15 Apr 2010 13:38
[PATCH 09/10] vmscan: Setup pagevec as late as possible in shrink_page_list()
shrink_page_list() sets up a pagevec to release pages as according as they are free. It uses significant amounts of stack on the pagevec. This patch adds pages to be freed via pagevec to a linked list which is then freed en-masse at the end. This avoids using stack in the main path that potentially calls writepage(... 15 Apr 2010 13:38
[PATCH 06/10] vmscan: Split shrink_zone to reduce stack usage
shrink_zone() calculculates how many pages it needs to shrink from each LRU list in a given pass. It uses a number of temporary variables to work this out that then remain on the stack. This patch splits the function so that some of the stack variables can be discarded. Signed-off-by: Mel Gorman <mel(a)csn.ul.ie> ... 15 Apr 2010 13:38
AMD Geode i686
On Mon, Mar 01, 2010 at 11:03:09PM +0100, Matteo Croce wrote: Hi, I have refreshed my AMD Geode i686 patch with NOPL and I have added a new nice feature. When a NOPL is found the parser looks for any NOPL after the current one, so they are emulated in bulk. Tested ok on a Pcengines Alix. Signed... 15 Apr 2010 14:44
Fix compat uname machine
On Thu, Apr 15, 2010 at 06:28:33PM +0200, Andreas Schwab wrote: Mask off personality flags when checking for PER_LINUX32. Signed-off-by: Andreas Schwab <schwab(a)linux-m68k.org> --- On ppc64 you get this error: $ setarch ppc -R true setarch: ppc: Unrecognized architecture because uname st... 15 Apr 2010 19:13
[PATCH net-next] net/l2tp/l2tp_debugfs.c: Convert NIPQUAD to %pI4
Signed-off-by: Joe Perches <joe(a)perches.com> --- net/l2tp/l2tp_debugfs.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/l2tp/l2tp_debugfs.c b/net/l2tp/l2tp_debugfs.c index 908f10f..104ec3b 100644 --- a/net/l2tp/l2tp_debugfs.c +++ b/net/l2tp/l2tp_debugfs.c @@ -122,8 +122,8 @@ s... 15 Apr 2010 13:38
[PATCH 0/5] AMD L3 cache index disable fixes for .35
From: Borislav Petkov <borislav.petkov(a)amd.com> Hi, this is a small patchset of fixes for L3 CID which have accumulated over the last couple of weeks. They serve as a preparation for disabling L3 cache indices whenever an L3 MCE triggers, has been evaluated and the offending index thresholded and, if error rat... 15 Apr 2010 13:38