Re: [PATCH v2 3/3] mm: don't panic when links can't be created in sysfs

2020-09-15 Thread Laurent Dufour
Le 15/09/2020 à 09:23, David Hildenbrand a écrit : On 14.09.20 18:50, Laurent Dufour wrote: At boot time, or when doing memory hot-add operations, if the links in sysfs can't be created, the system is still able to run, so just report the error in the kernel log rather than BUG_ON and

Re: [PATCH v2 3/3] mm: don't panic when links can't be created in sysfs

2020-09-15 Thread David Hildenbrand
On 14.09.20 18:50, Laurent Dufour wrote: > At boot time, or when doing memory hot-add operations, if the links in > sysfs can't be created, the system is still able to run, so just report the > error in the kernel log rather than BUG_ON and potentially make system > unusable because the callpath

[PATCH v2 3/3] mm: don't panic when links can't be created in sysfs

2020-09-14 Thread Laurent Dufour
At boot time, or when doing memory hot-add operations, if the links in sysfs can't be created, the system is still able to run, so just report the error in the kernel log rather than BUG_ON and potentially make system unusable because the callpath can be called with locks held. Since the number