[PATCH 6/7] cifs: Don't use PF_MEMALLOC
KOSAKI Motohiro <[email protected]>
| Newsgroups | gmane.linux.kernel.mm,gmane.linux.kernel,gmane.linux.file-systems.cifs,gmane.network.samba.internals |
|---|---|
| Message-ID | <[email protected]> |
Non MM subsystem must not use PF_MEMALLOC. Memory reclaim need few memory, anyone must not prevent it. Otherwise the system cause mysterious hang-up and/or OOM Killer invokation. Cc: Steve French <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: KOSAKI Motohiro <[email protected]> --- fs/cifs/connect.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 63ea83f..f9b1553 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -337,7 +337,6 @@ cifs_demultiplex_thread(struct TCP_Server_Info *server) bool isMultiRsp; int reconnect; - current->flags |= PF_MEMALLOC; cFYI(1, ("Demultiplex PID: %d", task_pid_nr(current))); length = atomic_inc_return(&tcpSesAllocCount); -- 1.6.2.5 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>