Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> It takes A LOT of time to expand the swap file. So failing malloc immediately seems, to me, the right way to handle it.

Maybe it'd be possible to check if expanding the swap file is possible, return and then actually expand the swap file when convenient.

(I like being an armchair kernel developer :-))



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: