Re: [PATCH] net/smc: Optimize the search method of reused buf_desc

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

 




在 2024/11/1 14:50, Dust Li 写道:
> On 2024-10-29 14:54:15, liqiang wrote:
>> We create a lock-less link list for the currently 
>> idle reusable smc_buf_desc.
>>
>> When the 'used' filed mark to 0, it is added to 
>> the lock-less linked list. 
>>
>> When a new connection is established, a suitable 
>> element is obtained directly, which eliminates the 
>> need for traversal and search, and does not require 
>> locking resource.
>>
>> A lock-free linked list is a linked list that uses 
>> atomic operations to optimize the producer-consumer model.
> 
> Do you see any performance issues without this lock-less linked list ?
> Under what test case ? Any performance numbers would be welcome
> 

I optimized it through review. I re-sent this patch based on the
net-next repo. It contains some of my own test data. Please check it. :-)

> Best regards,
> Dust
> 
> .
> 

-- 
Cheers,
Li Qiang




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux