From: Keir Fraser Subject: Re: ADs over dom0 iSCSI = high page_count() Date: Fri, 05 Dec 2008 20:31:51 +0000 Message-ID: References: <49397685.3000605@virtualiron.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <49397685.3000605@virtualiron.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Joshua Nicholas Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 05/12/2008 18:44, "Joshua Nicholas" wrote: > gnttab_copy_grant_page() can only return -EBUSY if the > page_mapcount() is set and thus the IO must have gone through > __gnttab_dma_map_page(). > > So is the page_count() also 0 in netback.c net_tx_action_dealloc() > when the entry has been pending too long and gnttab_copy_grant_page() > (called via copy_pending_req()) returns -EBUSY? > > How does the cleanup work when this item is deleted from the > pending_inuse_head due to -EBUSY being returned? The most likely person to answer these questions off the top of tehir head is Herbert Xu, who implemented many of these netback extensions. -- Keir