리눅스 커널의 구조와 원리/7. 워크큐(Workqueue)
[Linux kernel] workqueue - flush_to_ldisc
AustinKim
2024. 3. 23. 07:28
drivers/tty/tty_buffer.c
static void flush_to_ldisc(struct work_struct *work)
{
struct tty_port *port = container_of(work, struct tty_port, buf.work);
struct tty_bufhead *buf = &port->buf;
mutex_lock(&buf->lock);
// check point to get dump