Messages in this thread | | | Date | Tue, 2 May 2023 08:53:29 +0300 | From | Ido Schimmel <> | Subject | Re: [PATCH] debugobject: Prevent init race with static objects |
| |
On Mon, May 01, 2023 at 05:42:06PM +0200, Thomas Gleixner wrote: > The change in that patch is neither debug_objects_activate() nor > debug_objecs_assert_init() no longer invoke debug_object_init() which is > now the only place doing pool refills. So depending on the number of > statically allocated objects this might deplete the pool quick enough. > > Does the patch below restore the old behaviour?
Yes. Couldn't reproduce the issue with the proposed fix. Feel free to add:
Tested-by: Ido Schimmel <idosch@nvidia.com>
Thanks for the quick fix!
| |