Re: [PATCH v2 1/1] io_uring: allocate memory for overflowed CQEs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



在 2021/2/23 下午8:40, Pavel Begunkov 写道:
Instead of using a request itself for overflowed CQE stashing, allocate
a separate entry. The disadvantage is that the allocation may fail and
it will be accounted as lost (see rings->cq_overflow), so we lose
reliability in case of memory pressure. However, it opens a way for for
multiple CQEs per an SQE and even generating SQE-less CQEs >
Signed-off-by: Pavel Begunkov <asml.silence@xxxxxxxxx>
---
Hi Pavel,
Allow me to ask a stupid question, why do we need to support multiple CQEs per SQE or even SQE-less CQEs in the future?

Thanks,
Hao



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux