[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <eada2a070806082148r51cc4417u97062017b522825e@mail.gmail.com>
Date: Sun, 8 Jun 2008 21:48:31 -0700
From: "Tim Pepper" <lnxninja@...ux.vnet.ibm.com>
To: npiggin@...e.de
Cc: akpm@...ux-foundation.org, torvalds@...ux-foundation.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
benh@...nel.crashing.org, paulus@...ba.org
Subject: Re: [patch 3/7] mm: speculative page references
On Thu, Jun 5, 2008 at 2:43 AM, <npiggin@...e.de> wrote:
> --- linux-2.6.orig/mm/vmscan.c
> +++ linux-2.6/mm/vmscan.c
> @@ -390,12 +390,10 @@ static pageout_t pageout(struct page *pa
> }
>
> /*
> - * Attempt to detach a locked page from its ->mapping. If it is dirty or if
> - * someone else has a ref on the page, abort and return 0. If it was
> - * successfully detached, return 1. Assumes the caller has a single ref on
> - * this page.
> + * Save as remove_mapping, but if the page is removed from the mapping, it
> + * gets returned with a refcount of 0.
^^^^^^
Same as?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists