mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:48:11 +00:00
Revert "Kernel: Make DoubleBuffer use a KBuffer instead of kmalloc()ing"
This reverts commit 1cca5142af
.
This appears to be causing intermittent triple-faults and I don't know
why yet, so I'll just revert it to keep the tree in decent shape.
This commit is contained in:
parent
1cca5142af
commit
ec65b8db2e
5 changed files with 34 additions and 53 deletions
|
@ -81,7 +81,7 @@ bool MasterPTY::can_write_from_slave() const
|
|||
{
|
||||
if (m_closed)
|
||||
return true;
|
||||
return m_buffer.space_for_writing();
|
||||
return m_buffer.bytes_in_write_buffer() < 4096;
|
||||
}
|
||||
|
||||
void MasterPTY::close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue