| To: | "Stephen C. Tweedie" <sct@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [Xen-devel] Insane contiguous physical memory requirements in blkbk/blktap |
| From: | Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> |
| Date: | 2006年10月05日 17:19:05 +0100 |
| Cc: | Aron Griffis <aron@xxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx> |
| Delivery-date: | 2006年10月05日 09:20:15 -0700 |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxx |
| In-reply-to: | <1160064635.6513.38.camel@xxxxxxxxxxxxxxxxxxxxx> |
| List-help: | <mailto:xen-devel-request@lists.xensource.com?subject=help> |
| List-id: | Xen developer discussion <xen-devel.lists.xensource.com> |
| List-post: | <mailto:xen-devel@lists.xensource.com> |
| List-subscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
| List-unsubscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
| Thread-index: | AcbomfoVOIf89FSNEduhdwAX8io7RQ== |
| Thread-topic: | [Xen-devel] Insane contiguous physical memory requirements in blkbk/blktap |
| User-agent: | Microsoft-Entourage/11.2.5.060620 |
On 5/10/06 17:10, "Stephen C. Tweedie" <sct@xxxxxxxxxx> wrote: >> This is easily fixable. Anywhere we use the virtual address to compute an >> offset into a state structure, we can instead store the appropriate 'slot >> index' in a spare field in the appropriate 'struct page'. > > As far as I can tell, nothing uses the VA in any way --- it can't, > because the start of the order-10 kmalloc area is not actually used > anywhere after the initial mmap setup. After making the variable > mmap_vstart local to the __init function, everything still compiles, so > I don't think there's anything lurking in header files that implicitly > relies on it. I'm thinking of netback. That's the one driver where I think we use a virtual address (actually page-struct pointer) as a handle to driver-internal state. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Xen-devel] Insane contiguous physical memory requirements in blkbk/blktap , Stephen C. Tweedie |
|---|---|
| Next by Date: | RE: [Xen-devel] KernelBUGatarch/x86_64/mm/../../i386/mm/hypervisor.c:197 , Petersson, Mats |
| Previous by Thread: | Re: [Xen-devel] Insane contiguous physical memory requirements in blkbk/blktap , Stephen C. Tweedie |
| Next by Thread: | Re: [Xen-devel] Insane contiguous physical memory requirements in blkbk/blktap , Stephen C. Tweedie |
| Indexes: | [Date] [Thread] [Top] [All Lists] |