search for: pgd_test_and_unpin

Displaying 2 results from an estimated 2 matches for "pgd_test_and_unpin".

2007 Mar 16
4
Re: Fwd: Re: struct page field arrangement
Btw., another question that made me wonder already when doing the original patch: why is it that x86-64 properly uses locking for mm_pin_all(), yet i386 doesn''t need to? Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2006 Feb 24
2
r56 - trunk/debian
...gs); -+ pgd_list_del(pgd); -+ spin_unlock_irqrestore(&pgd_lock, flags); ++ if (PTRS_PER_PMD > 1) { ++ xen_destroy_contiguous_region((unsigned long)pgd, 0); ++ } else { ++ spin_lock_irqsave(&pgd_lock, flags); ++ pgd_list_del(pgd); ++ spin_unlock_irqrestore(&pgd_lock, flags); + -+ pgd_test_and_unpin(pgd); ++ pgd_test_and_unpin(pgd); ++ } +} + +pgd_t *pgd_alloc(struct mm_struct *mm) @@ -58034,12 +58037,12 @@ +i386-y += ../../i386/pci/i386.o diff -Nurp pristine-linux-2.6.12/.config linux-2.6.12-xen/.config --- pristine-linux-2.6.12/.config 1970-01-01 01:00:00.000000000 +0100 -+++ linux-2...