Re: [RFC][PATCH v2 4/8] Replace page_referenced() with wipe_page_reference()

Larry Woodman
2009-12-10T12:59:49Z

KOSAKI Motohiro wrote:
> @@ -578,7 +577,9 @@ static unsigned long shrink_page_list(struct list_head *page_list,
>
> + struct page_reference_context refctx = {
> + .is_page_locked = 1,
>
> *
> @@ -1289,7 +1291,6 @@ static void shrink_active_list(unsigned long nr_pages, struct zone *zone,
>
> + struct page_reference_context refctx = {
> + .is_page_locked = 0,
> + };
> +
>
are these whole structs properly initialized on the kernel stack?