Re: [RFC PATCH net-next] net/smc: Introduce SMC-related proc files

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

 





On 2023/9/11 19:54, Wenjia Zhang wrote:



Hi Wen,

I can understand your problem and frustration. However, there are two reasons I'm not really convinced by the proc file method:
1) AFAI, the proc method could consume many CPU time especially in case with a log of sockets to read the pseudo files.
2) We have already implemented the complex netlink method on the same purpose. I see the double expense to main the code.

Then the question is if the lack of dependency issue can be handle somehow, or the proc method is the only way to achieve this purpose?

Any opinion is welcome!

Thanks,
Wenjia

Hi, Wenjia. I agree with your concerns.

My initial intention is to make these proc files serve as a supplement to netlink to conveniently
check smc connections in an environment where smc-tools cannot be easily obtained.

Yes, proc files won't be the first choice for diagnosis, but can be a convenient backup.

Thanks,
Wen Gu




[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