Re: [patch 16/17] add kmap_atomic_pte for mapping highpte pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andi Kleen wrote:
>> +}
>> +
>> +/* Flush all unused kmap mappings in order to remove stray
>> +   mappings. */
>> +void kmap_flush_unused(void)
>> +{
>> +	spin_lock(&kmap_lock);
>> +	flush_all_zero_pkmaps();
>> +	spin_unlock(&kmap_lock);
>>  }
>>     
>
> Who calls this now?

Nobody in kernel, or in this patchset.  The Xen code calls it to make
sure there are no stray RW mappings of a page it has freshly allocated
for use in a pagetable.

    J
_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/virtualization


[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux