lkml.org 
[lkml]   [2023]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH-next RESEND v2] lib: parser: optimize match_NUMER apis to use local array
On Wed, Jan 11, 2023 at 12:22:15PM +0800, Li Lingfeng wrote:
> Memory will be allocated to store substring_t in match_strdup(), which means
> the caller of match_strdup() may need to be scheduled out to wait for reclaiming
> memory.
>
> Using local array to store substring_t to remove the restriction.
>
> Link: https://lore.kernel.org/all/20221104023938.2346986-5-yukuai1@huaweicloud.com/
> Signed-off-by: Li Lingfeng <lilingfeng3@huawei.com>
> Acked-by: Tejun Heo <tj@kernel.org>

This will fix a sleep-in-atomic in #linus, so it'd be great if we can get it
merged. Can you please apply the suggested changes and repost? I think we
can route this through block too as the current breakage is there. So,
please cc Jens too.

Thanks.

--
tejun

\
 
 \ /
  Last update: 2023-03-26 23:48    [W:2.137 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site