갤플 포럼에서 Runi님께서 TinyRCU를 위한(?) Low Memory Killer패치 소스를 공유해 주셨어요 ㅎㅎ 필요했는대 잘됬내요 ㅋㅋㅋㅋ lowmemorykiller.c를 수정해주는 패치입니다. ----------------------------------------------------------------------------- The task handoff notifier leaks task_struct since it never gets freed after the callback returns NOTIFY_OK, which means it is responsible for doing so. It turns out the lowmemorykiller actually doesn't need this notifier at all. It's used to prevent unnecessary killing by waiting for a thread to exit as a result of lowmem_shrink(), however, it's possible to do this in the same way the kernel oom killer works by setting TIF_MEMDIE and avoid killing if we're still waiting for it to exit. The kernel oom killer will already automatically set TIF_MEMDIE for threads that are attempting to allocate memory that have a fatal signal. The thread selected by lowmem_shrink() will have such a signal after the lowmemorykiller sends it a SIGKILL, so this won't result in an unnecessary...