Messages in this thread | ![/](/images/icornerl.gif) | | Date | Tue, 6 Jun 2023 22:39:59 +0200 | From | Oleg Nesterov <> | Subject | Re: [PATCH v9] kernel/fork: beware of __put_task_struct calling context |
| |
On 06/05, Wander Lairson Costa wrote: > > Thanks. I found an unrelated earlier splat in the console code. That's > why I couldn't reproduce it in the stock kernel.
As expected...
So... Not sure what can I say ;) can you verify that this patch doesn't solve the issues with CONFIG_PROVE_RAW_LOCK_NESTING pointed out by Sebastian? Using stress-ng or anything else.
This is not that bad, unless I am totally confused the current code (without your patch) has the same problem (otherwise we wouldn't need this fix).
But perhaps you can make 2/2 which adds the DEFINE_WAIT_OVERRIDE_MAP() hack as Peter suggested?
Oleg.
| ![\](/images/icornerr.gif) |