On 30-04-26, 16:45, Bertrand Marquis wrote:
Hi Everyone,
Quick follow up on one block point with discussed.
Manos pointed me to the ccw transport code which does sleep: https://github.com/torvalds/linux/blob/e75a43c7cec459a07d91ed17de4de13ede2b7...
And i checked and tested with a big print when i though i could not sleep and had to use a shadow config. In fact I can sleep and i check my original code when i started to introduce this and the test was wrong at the time: I was checking if i was in an interrupt context but not if could sleep and my rcu might have been called by other issues.
So we might not have to solve this problem at all as get/set config are sleepable !!!
I will do some extra investigations and checks inside the kernel code but this could make things way easier :-)
Very nice :)