[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87bjqriral.ffs@tglx>
Date: Fri, 13 Jun 2025 17:40:02 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: Waiman Long <llong@...hat.com>, Andrew Morton
<akpm@...ux-foundation.org>, Anna-Maria Behnsen
<anna-maria@...utronix.de>, Frederic Weisbecker <frederic@...nel.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/3] timers: Disable memory pre-allocation of timer
debug objects
On Fri, Jun 13 2025 at 11:13, Waiman Long wrote:
> On 6/12/25 6:03 PM, Thomas Gleixner wrote:
>> I have a hard time to find the printk() in rmqueue_bulk(). But if there
>> is one then it has to go or has to be converted to a deferred printk()
>> simply because that code can be called from so many contexts, which all
>> can legitimately create a lock dependency chain into the console drivers
>> in some way or the other. That's like invoking printk() from the guts of
>> the scheduler or locking code.
>
> Actually, rmqueue_bulk() calls expand() which, in turn, calls
> __add_to_free_list() and the printk() comes from the VM_WARN_ONCE()
> macro there.
Duh. I missed that one ....
> In a sense, printk() is called because of some other issues in the mm code.
:)
Thanks,
tglx
Powered by blists - more mailing lists