diff for duplicates of <20101020055717.GA12752@localhost> diff --git a/a/1.txt b/N1/1.txt index d3135c7..67047eb 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -18,19 +18,19 @@ On Tue, Oct 19, 2010 at 06:06:21PM +0800, Torsten Kaiser wrote: > > > > I also tried to additionally add Wu's patch: > > --- linux-next.orig/mm/vmscan.c 2010-10-13 12:35:14.000000000 +0800 -> > +++ linux-next/mm/vmscan.c 2010-10-19 00:13:04.000000000 +0800 +> > +++ linux-next/mm/vmscan.c A A A 2010-10-19 00:13:04.000000000 +0800 > > @@ -1163,6 +1163,13 @@ static int too_many_isolated(struct zone -> > isolated = zone_page_state(zone, NR_ISOLATED_ANON); -> > } +> > A A A A A A A isolated = zone_page_state(zone, NR_ISOLATED_ANON); +> > A A A } > > -> > + /* -> > + * GFP_NOIO/GFP_NOFS callers are allowed to isolate more pages, so that -> > + * they won't get blocked by normal ones and form circular deadlock. -> > + */ -> > + if ((sc->gfp_mask & GFP_IOFS) == GFP_IOFS) -> > + inactive >>= 3; +> > + A A A /* +> > + A A A A * GFP_NOIO/GFP_NOFS callers are allowed to isolate more pages, so that +> > + A A A A * they won't get blocked by normal ones and form circular deadlock. +> > + A A A A */ +> > + A A A if ((sc->gfp_mask & GFP_IOFS) == GFP_IOFS) +> > + A A A A A A A inactive >>= 3; > > + -> > return isolated > inactive; +> > A A A return isolated > inactive; > > > > Either it did help somewhat, or I was more lucky on my second try, but > > this time I needed ~5 tries instead of only 2 to get the system mostly @@ -127,3 +127,9 @@ concurrent direct page reclaim problem return 0; /* + +-- +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/ . +Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> diff --git a/a/content_digest b/N1/content_digest index 53bdd3c..37aaa60 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -43,19 +43,19 @@ "> >\n" "> > I also tried to additionally add Wu's patch:\n" "> > --- linux-next.orig/mm/vmscan.c 2010-10-13 12:35:14.000000000 +0800\n" - "> > +++ linux-next/mm/vmscan.c \302\240 \302\240 \302\2402010-10-19 00:13:04.000000000 +0800\n" + "> > +++ linux-next/mm/vmscan.c A A A 2010-10-19 00:13:04.000000000 +0800\n" "> > @@ -1163,6 +1163,13 @@ static int too_many_isolated(struct zone\n" - "> > \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 isolated = zone_page_state(zone, NR_ISOLATED_ANON);\n" - "> > \302\240 \302\240 \302\240 }\n" + "> > A A A A A A A isolated = zone_page_state(zone, NR_ISOLATED_ANON);\n" + "> > A A A }\n" "> >\n" - "> > + \302\240 \302\240 \302\240 /*\n" - "> > + \302\240 \302\240 \302\240 \302\240* GFP_NOIO/GFP_NOFS callers are allowed to isolate more pages, so that\n" - "> > + \302\240 \302\240 \302\240 \302\240* they won't get blocked by normal ones and form circular deadlock.\n" - "> > + \302\240 \302\240 \302\240 \302\240*/\n" - "> > + \302\240 \302\240 \302\240 if ((sc->gfp_mask & GFP_IOFS) == GFP_IOFS)\n" - "> > + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 inactive >>= 3;\n" + "> > + A A A /*\n" + "> > + A A A A * GFP_NOIO/GFP_NOFS callers are allowed to isolate more pages, so that\n" + "> > + A A A A * they won't get blocked by normal ones and form circular deadlock.\n" + "> > + A A A A */\n" + "> > + A A A if ((sc->gfp_mask & GFP_IOFS) == GFP_IOFS)\n" + "> > + A A A A A A A inactive >>= 3;\n" "> > +\n" - "> > \302\240 \302\240 \302\240 return isolated > inactive;\n" + "> > A A A return isolated > inactive;\n" "> >\n" "> > Either it did help somewhat, or I was more lucky on my second try, but\n" "> > this time I needed ~5 tries instead of only 2 to get the system mostly\n" @@ -151,6 +151,12 @@ "+\tif (gfp_mask & __GFP_NORETRY && pages_reclaimed > (1 << (order + 12)))\n" " \t\treturn 0;\n" " \n" - " \t/*" + " \t/*\n" + "\n" + "--\n" + "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n" + "the body to majordomo@kvack.org. For more info on Linux MM,\n" + "see: http://www.linux-mm.org/ .\n" + "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" -f2f5e71d8ddb492b2fe611a856af86d0263a89026a611be56b296a1d4d73efe1 +f910836d61810f5bab27f1e6db408fd7673d525f99ed5b76608d75c0ea112cb3
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.