Re: Ways to deprecate /sys/devices/system/memory/memoryX/phys_device ?

From: Dave Hansen
Date: Thu Sep 10 2020 - 16:07:54 EST


On 9/10/20 3:20 AM, David Hildenbrand wrote:
> I was just exploring how /sys/devices/system/memory/memoryX/phys_device
> is/was used. It's one of these interfaces that most probably never
> should have been added but now we are stuck with it.

While I'm all for cleanups, what specific problems is phys_device causing?

Are you hoping that we can just remove users of memoryX/* until there
are no more left, and this is the easiest place to start?