[folded-merged] exec-separate-mm_anonpages-and-rlimit_stack-accounting-checkpatch-fixes.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: exec-separate-mm_anonpages-and-rlimit_stack-accounting-checkpatch-fixes
has been removed from the -mm tree.  Its filename was
     exec-separate-mm_anonpages-and-rlimit_stack-accounting-checkpatch-fixes.patch

This patch was dropped because it was folded into exec-separate-mm_anonpages-and-rlimit_stack-accounting.patch

------------------------------------------------------
From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Subject: exec-separate-mm_anonpages-and-rlimit_stack-accounting-checkpatch-fixes

use max_t

Cc: Oleg Nesterov <oleg@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/exec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/fs/exec.c~exec-separate-mm_anonpages-and-rlimit_stack-accounting-checkpatch-fixes
+++ a/fs/exec.c
@@ -474,7 +474,7 @@ static int prepare_arg_pages(struct linu
 	 * We've historically supported up to 32 pages (ARG_MAX)
 	 * of argument strings even with small stacks
 	 */
-	limit = max(limit, (unsigned long)ARG_MAX);
+	limit = max_t(unsigned long, limit, ARG_MAX);
 	/*
 	 * We must account for the size of all the argv and envp pointers to
 	 * the argv and envp strings, since they will also take up space in
_

Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are

exec-separate-mm_anonpages-and-rlimit_stack-accounting.patch
fs-remove-caller-signal_pending-branch-predictions-fix.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux