mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-26 19:03:27 +00:00
Align the buffer size of pipes and UNIX sockets
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
f9bae1eee9
commit
8fdd22de8a
@ -122,4 +122,4 @@ impl Endpoint {
|
||||
}
|
||||
}
|
||||
|
||||
const DAFAULT_BUF_SIZE: usize = 4096;
|
||||
const DAFAULT_BUF_SIZE: usize = 65536;
|
||||
|
@ -58,4 +58,4 @@ struct PipeFds {
|
||||
writer_fd: FileDesc,
|
||||
}
|
||||
|
||||
const PIPE_BUF_SIZE: usize = 1024 * 1024;
|
||||
const PIPE_BUF_SIZE: usize = 65536;
|
||||
|
Reference in New Issue
Block a user