[PATCH 0/6] make request_module() killable
From: Oleg Nesterov
Date: Tue Feb 14 2012 - 11:53:55 EST
As Tetsuo pointed out, request_module() is very much unfriendly wrt OOM.
It needs "a lot" of time/memory to finish while the caller is blocked in
TASK_UNINTERRUPTIBLE.
Changes:
- improve the comments a bit
- reorder the changes so that 3/6 which changes kABI can be
skipped, to simplify the backporting
- tried to test, seems to work
This series is orthogonal to kmod-avoid-deadlock-by-recursive-kmod-call.patch
(which I still think should be replaced, I'll try to return to this later).
3/6 depends on usermodehelper-use-umh_wait_proc-consistently.patch
Many thanks to Tetsuo for the discussion.
Oleg.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/