Blame test/integration/rhel-7.7/smp-locks-section.patch
|
Packit Service |
da4517 |
Index: kernel/drivers/tty/tty_buffer.c
|
|
Packit Service |
da4517 |
===================================================================
|
|
Packit Service |
da4517 |
--- kernel.orig/drivers/tty/tty_buffer.c
|
|
Packit Service |
da4517 |
+++ kernel/drivers/tty/tty_buffer.c
|
|
Packit Service |
da4517 |
@@ -217,6 +217,10 @@ int tty_buffer_request_room(struct tty_p
|
|
Packit Service |
da4517 |
/* OPTIMISATION: We could keep a per tty "zero" sized buffer to
|
|
Packit Service |
da4517 |
remove this conditional if its worth it. This would be invisible
|
|
Packit Service |
da4517 |
to the callers */
|
|
Packit Service |
da4517 |
+
|
|
Packit Service |
da4517 |
+ if (!size)
|
|
Packit Service |
da4517 |
+ printk("kpatch-test: testing .smp_locks section changes\n");
|
|
Packit Service |
da4517 |
+
|
|
Packit Service |
da4517 |
b = buf->tail;
|
|
Packit Service |
da4517 |
if (b != NULL)
|
|
Packit Service |
da4517 |
left = b->size - b->used;
|