lkml.org 
[lkml]   [2022]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH printk v2 12/38] tty: serial: kgdboc: use console_is_enabled()
    Date
    On 2022-11-07, Petr Mladek <pmladek@suse.com> wrote:
    >> /*
    >> * Hold the console_lock to guarantee that no consoles are
    > ^^^^^^^^^^^^
    >> * unregistered until the kgdboc_earlycon setup is complete.
    >
    > My understanding is that this is synchronized by console_list_lock.
    > Or do I miss something?

    Yes, in the end the comment will say console_list_lock. At this point in
    the series, the console_lock is still used. The comment is updated later
    (as in patch 34 of the v2 series).

    John

    \
     
     \ /
      Last update: 2022-11-07 10:45    [W:3.510 / U:1.588 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site