LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] modify incorrected word in comment of clear_active_flags
@ 2008-02-02  6:36 minchan kim
  2008-02-04  9:33 ` Andy Whitcroft
  0 siblings, 1 reply; 2+ messages in thread
From: minchan kim @ 2008-02-02  6:36 UTC (permalink / raw)
  To: Andrew Morton, Andy Whitcroft; +Cc: linux-mm, linux-kernel

I think is was a mistake.
clear_active_flags is just called by shrink_inactive_list.

--- mm/vmscan.c.orig  2008-02-02 15:21:52.000000000 +0900
+++ mm/vmscan.c 2008-02-02 15:20:46.000000000 +0900
@@ -761,7 +761,7 @@ static unsigned long isolate_lru_pages(u
 }

 /*
- * clear_active_flags() is a helper for shrink_active_list(), clearing
+ * clear_active_flags() is a helper for shrink_inactive_list(), clearing
  * any active bits from the pages in the list.
  */
 static unsigned long clear_active_flags(struct list_head *page_list)



-- 
Kinds regards,
barrios

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] modify incorrected word in comment of clear_active_flags
  2008-02-02  6:36 [PATCH] modify incorrected word in comment of clear_active_flags minchan kim
@ 2008-02-04  9:33 ` Andy Whitcroft
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Whitcroft @ 2008-02-04  9:33 UTC (permalink / raw)
  To: minchan kim; +Cc: Andrew Morton, linux-mm, linux-kernel

On Sat, Feb 02, 2008 at 03:36:54PM +0900, minchan kim wrote:
> I think is was a mistake.
> clear_active_flags is just called by shrink_inactive_list.
> 
> --- mm/vmscan.c.orig  2008-02-02 15:21:52.000000000 +0900
> +++ mm/vmscan.c 2008-02-02 15:20:46.000000000 +0900
> @@ -761,7 +761,7 @@ static unsigned long isolate_lru_pages(u
>  }
> 
>  /*
> - * clear_active_flags() is a helper for shrink_active_list(), clearing
> + * clear_active_flags() is a helper for shrink_inactive_list(), clearing
>   * any active bits from the pages in the list.
>   */
>  static unsigned long clear_active_flags(struct list_head *page_list)

Yeah that is a silly typo.

Acked-by: Andy Whitcroft <apw@shadowen.org>

-apw

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-04  9:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-02  6:36 [PATCH] modify incorrected word in comment of clear_active_flags minchan kim
2008-02-04  9:33 ` Andy Whitcroft

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).