SymbioticLab / Infiniswap

Infiniswap enables unmodified applications to efficiently use disaggregated memory.
239 stars 49 forks source link

Add support for swap-in request with multiple pages in Linux kernel 4.x #3

Open juncgu opened 7 years ago

juncgu commented 7 years ago

In Linux kernel 4.x, swap-in (read) request is allowed to batch multiple pages. Multiple pages can be in a single swap-in request.
Infiniswap was initially developed on kernel 3.13 which only allows single page in a swap-in request. Therefore, current Infiniswap can only accept the swap-in request with one page. The multi-page swap-in request should be supported for kernel 4.x.

leeymcj commented 6 years ago

I think I solved this. I will share the code for revision.