proposed interface change for setting the ldt

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

 



Jeremy Fitzhardinge wrote:
> Jeremy Fitzhardinge wrote:
>>     set_ldt(const struct desc_struct *ldt, int num_entries);
>>   
> Make that
>
>     set_ldt(unsigned cpu, const struct desc_struct *ldt, int 
> num_entries);

Or maybe not.  The current code assumes that cpu is the current cpu 
anyway;  the implementation can use smp_processor_id() if it needs it 
anyway (Xen doesn't).

    J


[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