diff for duplicates of <20110829080711.GC32114@cmpxchg.org> diff --git a/a/1.txt b/N1/1.txt index 9d963a7..0f5d6e0 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -10,18 +10,18 @@ On Mon, Aug 29, 2011 at 12:15:57AM -0700, Ying Han wrote: > > > --- a/mm/vmscan.c > > > +++ b/mm/vmscan.c > > > @@ -2768,7 +2768,8 @@ loop_again: -> > > * Do some background aging of the anon list, to +> > > * Do some background aging of the anon list, to > > > give -> > > * pages a chance to be referenced before +> > > * pages a chance to be referenced before > > > reclaiming. -> > > */ -> > > - if (inactive_anon_is_low(zone, &sc)) -> > > + if (scanning_global_lru(&sc) && -> > > + inactive_anon_is_low(zone, &sc)) -> > > shrink_active_list(SWAP_CLUSTER_MAX, zone, -> > > &sc, priority, 0); +> > > */ +> > > - if (inactive_anon_is_low(zone, &sc)) +> > > + if (scanning_global_lru(&sc) && +> > > + inactive_anon_is_low(zone, &sc)) +> > > shrink_active_list(SWAP_CLUSTER_MAX, zone, +> > > &sc, priority, 0); > > -> > Thanks! I completely overlooked this one and only noticed it after +> > Thanks! I completely overlooked this one and only noticed it after > > changing the arguments to shrink_active_list(). > > > > On memcg configurations, scanning_global_lru() will essentially never @@ -37,3 +37,10 @@ On Mon, Aug 29, 2011 at 12:15:57AM -0700, Ying Han wrote: This makes perfect sense. I'll incorporate this and add your sign-offs to the original patch. Thanks very to the both of you and sorry for the inconvenience. + +-- +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/ . +Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ +Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> diff --git a/a/content_digest b/N1/content_digest index 26ada43..d159453 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -35,18 +35,18 @@ "> > > --- a/mm/vmscan.c\n" "> > > +++ b/mm/vmscan.c\n" "> > > @@ -2768,7 +2768,8 @@ loop_again:\n" - "> > > \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240* Do some background aging of the anon list, to\n" + "> > > * Do some background aging of the anon list, to\n" "> > > give\n" - "> > > \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240* pages a chance to be referenced before\n" + "> > > * pages a chance to be referenced before\n" "> > > reclaiming.\n" - "> > > \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240*/\n" - "> > > - \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 if (inactive_anon_is_low(zone, &sc))\n" - "> > > + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 if (scanning_global_lru(&sc) &&\n" - "> > > + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 inactive_anon_is_low(zone, &sc))\n" - "> > > \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 shrink_active_list(SWAP_CLUSTER_MAX, zone,\n" - "> > > \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 &sc, priority, 0);\n" + "> > > */\n" + "> > > - if (inactive_anon_is_low(zone, &sc))\n" + "> > > + if (scanning_global_lru(&sc) &&\n" + "> > > + inactive_anon_is_low(zone, &sc))\n" + "> > > shrink_active_list(SWAP_CLUSTER_MAX, zone,\n" + "> > > &sc, priority, 0);\n" "> >\n" - "> > Thanks! \302\240I completely overlooked this one and only noticed it after\n" + "> > Thanks! I completely overlooked this one and only noticed it after\n" "> > changing the arguments to shrink_active_list().\n" "> >\n" "> > On memcg configurations, scanning_global_lru() will essentially never\n" @@ -61,6 +61,13 @@ "\n" "This makes perfect sense. I'll incorporate this and add your\n" "sign-offs to the original patch. Thanks very to the both of you and\n" - sorry for the inconvenience. + "sorry for the inconvenience.\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" + "Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/\n" + "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" -9e5186b63013bbee7f9f9d15faf8d99b4ed12231a562bea5c3a17856d5dd4bb4 +8bbf8a56e1b4933ac3d826db266b60bbab500522f5b5b1205f1577d2b8d00a27
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.