diff for duplicates of <20101020092739.GA23869@localhost> diff --git a/a/1.txt b/N1/1.txt index a2738be..f2fc287 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -19,19 +19,19 @@ On Wed, Oct 20, 2010 at 03:05:56PM +0800, KOSAKI Motohiro 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 @@ -175,3 +175,9 @@ to a large value should help fix both the deadlock and IO throughput. Thanks, Fengguang + +-- +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 cc078c0..785c02e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -38,19 +38,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" @@ -193,6 +193,12 @@ "[add CC to Jens]\n" "\n" "Thanks,\n" - Fengguang + "Fengguang\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>" -782b3e64e18ed4a3c19f9e369140830ee724b3602dcd932d1776f213931c6c18 +7ebfb68b7fff3a8d77f61e7e03376515dc6b85eb62ae0ee1132a06e99c05b69d
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.