search for: page_in

Displaying 6 results from an estimated 6 matches for "page_in".

Did you mean: page_id
2011 Sep 28
2
event channel in xenpaging
...blems. a、In main(),you put the page_out process into while(1) and make the following change. if ( interrupted ) victims[i].gfn = INVALID_MFN; - else - evict_victim(paging, &victims[i], fd, i); I think the" if ( interrupted )" should remove here.Because once handling page_in requests,the related victims slot should clear, then in evict_pages we can populate new page in this slot because in evict_page() the condition as followings: /* Slot is allocated */ + if ( victims[slot].gfn != INVALID_MFN ) + continue; b、In xenpaging_init (),when it goes to err,you add "fre...
2007 Feb 15
1
How to do Theora playback efficiently ?
...ecoding), you must do several pagein-calls and several other things first which also takes a lot of time. Typically a gapless audio playback has higher priority than smooth video playback so another implementation is needed. Because of this I tried to do this demuxing stuff (read from file, do the page_in calls) in a seperate thread. But without defining critical sections or other handling of synchronising threads, I get a lot off runtime errors (collission of ogg_stream and ogg_theora functions because of suddenly zero packets, etc.). If I synchonise the threads, it's working but I have a big s...
2012 Jan 05
3
[PATCH 0 of 2] xenpaging:speed up page-in
The following two patches are about how to speed up in xenpaging when page in pages. On suse11-64 with 4G memory,if we page out 2G pages,it will cost about 15.5 seconds, but take 2088 seconds to finish paging in.If page-in costs too much time,it will cause unmesurable problems when vm or dom0 access the paged_out page,such as BSOD,crash. What鈥檚 more,the dom0 is always in high I/O pressure.
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...pgdir->pgdir, i); +} + +/* FIXME: We hold reference to pages, which prevents them from being + swapped. It'd be nice to have a callback when Linux wants to swap out. */ + +/* We fault pages in, which allows us to update accessed/dirty bits. + * Return 0 if failed, 1 if good */ +static int page_in(struct lguest_vcpu *vcpu, u64 vaddr, pgprot_t prot) +{ + struct lguest_guest_info *linfo = vcpu->guest; + struct lguest_pud *pudir; + struct lguest_pmd *pmdir; + struct lguest_pte *ptedir; + u64 val; + u64 paddr; + u64 gpgd, gpud, gpmd, gpte; + u64 flags = pgprot_val(prot); + int write; + int re...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...pgdir->pgdir, i); +} + +/* FIXME: We hold reference to pages, which prevents them from being + swapped. It'd be nice to have a callback when Linux wants to swap out. */ + +/* We fault pages in, which allows us to update accessed/dirty bits. + * Return 0 if failed, 1 if good */ +static int page_in(struct lguest_vcpu *vcpu, u64 vaddr, pgprot_t prot) +{ + struct lguest_guest_info *linfo = vcpu->guest; + struct lguest_pud *pudir; + struct lguest_pmd *pmdir; + struct lguest_pte *ptedir; + u64 val; + u64 paddr; + u64 gpgd, gpud, gpmd, gpte; + u64 flags = pgprot_val(prot); + int write; + int re...
2007 Mar 20
62
RFC: [0/2] Remove netloop by lazy copying in netback
Hi Keir: These two patches remove the need for netloop by performing the copying in netback and only if it is necessary. The rationale is that most packets will be processed without delay allowing them to be freed without copying at all. So instead of copying every packet destined to dom0 we''ll only copy those that linger longer than a specified amount of time (currently 0.5s). As it