[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] mach_defpager: Fix external objects interface
From: |
Sergio Lopez |
Subject: |
Re: [PATCH] mach_defpager: Fix external objects interface |
Date: |
Fri, 21 May 2010 10:35:35 +0200 |
El Wed, 19 May 2010 16:29:21 +0200
Sergio Lopez <slp@sinrega.org> escribió:
> - 01defpager-mutex.patch: Properly unlock the mutex before returning
> NO_BLOCK in pager_read_offset.
>
> - 02defpager-extread.patch: Add an "external" attribute to
> dstruct structure. In default_read, if the object is external,
> resolve a read request with a zero filled page.
>
> - 03defpager-synclock.patch: Remove user reference count logic, to
> avoid setting an arbitrary limit to the number of requests
> processed by an object. Don't request completion notification for
> m_o_lock_request. I think is worth noting that the original
> problem which makes default_pager get stuck waiting for a seqno that
> never arrives in S_default_pager_object_set_size, was just that
> reply_port and seqno arguments were in wrong order.
>
> - 04defpager-objectsize.patch: In S_default_pager_object_create,
> reject values for "size" other than "vm_page_size", since internal
> logic doesn't properly support it (though object size limit can be
> increased by sucesive calls to S_default_pager_set_size).
After applying these patches, you'll also need this one to be able to
compile proxy-defpager (which still doesn't work, but that's another
question...).
05defpager-proxy.patch
Description: Text Data