smart notify_oom