Re: [PATCH v2 0/3] topology/sysfs: only export used sysfs attributes

From: Brice Goglin
Date: Sat Dec 04 2021 - 04:48:14 EST


Le 04/12/2021 à 10:07, Song Bao Hua (Barry Song) a écrit :

Could you give me one minute?

+Brice

I'd like to hear some feedbacks from hwloc if there
is a chance to break userspace and if userspace depends
on the existence of sysfs even though the topology
doesn't exist.

If no, I feel it is safe to take.


Hello

If the question is whether hwloc *requires* cluster/die/book/drawer sysfs files to exist, then the answer is no. We have to support old kernels without those files anyway.

Brice



Attachment: OpenPGP_signature
Description: OpenPGP digital signature