syscall_channel: increase queue size to avoid deadlock in ikc_send()
This commit is contained in:
@@ -240,7 +240,7 @@ static struct ihk_ikc_listen_param listen_param = {
|
|||||||
.port = 501,
|
.port = 501,
|
||||||
.handler = connect_handler,
|
.handler = connect_handler,
|
||||||
.pkt_size = sizeof(struct ikc_scd_packet),
|
.pkt_size = sizeof(struct ikc_scd_packet),
|
||||||
.queue_size = PAGE_SIZE,
|
.queue_size = PAGE_SIZE * 4,
|
||||||
.magic = 0x1129,
|
.magic = 0x1129,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -248,7 +248,7 @@ static struct ihk_ikc_listen_param listen_param2 = {
|
|||||||
.port = 502,
|
.port = 502,
|
||||||
.handler = connect_handler2,
|
.handler = connect_handler2,
|
||||||
.pkt_size = sizeof(struct ikc_scd_packet),
|
.pkt_size = sizeof(struct ikc_scd_packet),
|
||||||
.queue_size = PAGE_SIZE,
|
.queue_size = PAGE_SIZE * 4,
|
||||||
.magic = 0x1329,
|
.magic = 0x1329,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -687,7 +687,7 @@ void init_host_syscall_channel(void)
|
|||||||
|
|
||||||
param.port = 501;
|
param.port = 501;
|
||||||
param.pkt_size = sizeof(struct ikc_scd_packet);
|
param.pkt_size = sizeof(struct ikc_scd_packet);
|
||||||
param.queue_size = PAGE_SIZE;
|
param.queue_size = PAGE_SIZE * 4;
|
||||||
param.magic = 0x1129;
|
param.magic = 0x1129;
|
||||||
param.handler = syscall_packet_handler;
|
param.handler = syscall_packet_handler;
|
||||||
|
|
||||||
@@ -714,7 +714,7 @@ void init_host_syscall_channel2(void)
|
|||||||
|
|
||||||
param.port = 502;
|
param.port = 502;
|
||||||
param.pkt_size = sizeof(struct ikc_scd_packet);
|
param.pkt_size = sizeof(struct ikc_scd_packet);
|
||||||
param.queue_size = PAGE_SIZE;
|
param.queue_size = PAGE_SIZE * 4;
|
||||||
param.magic = 0x1329;
|
param.magic = 0x1329;
|
||||||
param.handler = syscall_packet_handler;
|
param.handler = syscall_packet_handler;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user