Re: [PATCH v23 4/8] crash: memory and CPU hotplug sysfs attributes

2023-06-16 Thread Eric DeVolder
On 6/13/23 03:03, Greg KH wrote: On Mon, Jun 12, 2023 at 05:07:08PM -0400, Eric DeVolder wrote: Introduce the crash_hotplug attribute for memory and CPUs for use by userspace. These attributes directly facilitate the udev rule for managing userspace re-loading of the crash kernel upon hot

Re: [PATCH v23 4/8] crash: memory and CPU hotplug sysfs attributes

2023-06-13 Thread Thomas Gleixner
On Tue, Jun 13 2023 at 14:58, Eric DeVolder wrote: > On 6/13/23 10:24, Eric DeVolder wrote: >> On 6/13/23 03:03, Greg KH wrote: >>> All of these #ifdefs should all be removed and instead use the >>> is_visible() callback to determine if the attribute is shown or not, >>> using the IS_ENABLED()

Re: [PATCH v23 4/8] crash: memory and CPU hotplug sysfs attributes

2023-06-13 Thread Eric DeVolder
On 6/13/23 10:24, Eric DeVolder wrote: On 6/13/23 03:03, Greg KH wrote: On Mon, Jun 12, 2023 at 05:07:08PM -0400, Eric DeVolder wrote: Introduce the crash_hotplug attribute for memory and CPUs for use by userspace.  These attributes directly facilitate the udev rule for managing userspace

Re: [PATCH v23 4/8] crash: memory and CPU hotplug sysfs attributes

2023-06-13 Thread Eric DeVolder
On 6/13/23 03:03, Greg KH wrote: On Mon, Jun 12, 2023 at 05:07:08PM -0400, Eric DeVolder wrote: Introduce the crash_hotplug attribute for memory and CPUs for use by userspace. These attributes directly facilitate the udev rule for managing userspace re-loading of the crash kernel upon hot

Re: [PATCH v23 4/8] crash: memory and CPU hotplug sysfs attributes

2023-06-13 Thread Greg KH
On Mon, Jun 12, 2023 at 05:07:08PM -0400, Eric DeVolder wrote: > Introduce the crash_hotplug attribute for memory and CPUs for > use by userspace. These attributes directly facilitate the udev > rule for managing userspace re-loading of the crash kernel upon > hot un/plug changes. > > For

[PATCH v23 4/8] crash: memory and CPU hotplug sysfs attributes

2023-06-12 Thread Eric DeVolder
Introduce the crash_hotplug attribute for memory and CPUs for use by userspace. These attributes directly facilitate the udev rule for managing userspace re-loading of the crash kernel upon hot un/plug changes. For memory, expose the crash_hotplug attribute to the /sys/devices/system/memory