lkml.org 
[lkml]   [2022]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC PATCH] kernel/cpu: restart cpu_up when hotplug is disabled
From
>> It's far from perfect I would say, but we really wanted to avoid
>> letting user space having to deal with retry logic.
>
> What's so hard with retry logic in user space?
>
> If you can come up with a reasonable argument why user space cannot be
> fixed, then there is certainly a better solution than slapping a
> msleep(5) at some random place into the code.
Most probably you're right and we should just retry in udev. Staring at
the history, it looks like the -EBUSY might have been returned forever,
so user space just never really triggered it on actual CPU hotplug
because it doesn't usually happen that cpu hotplug is disabled.

--
Thanks,

David / dhildenb

\
 
 \ /
  Last update: 2022-04-21 16:32    [W:0.051 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site