- drivers-char-randomcwrite_pool-cond_resched-needed.patch removed from -mm tree

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

 



The patch titled
     drivers/char/random.c:write_pool() cond_resched() needed
has been removed from the -mm tree.  Its filename was
     drivers-char-randomcwrite_pool-cond_resched-needed.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: drivers/char/random.c:write_pool() cond_resched() needed
From: Matt Mackall <mpm@xxxxxxxxxxx>

Reduce latency for large writes to /dev/[u]random

Signed-off-by: Matt Mackall <mpm@xxxxxxxxxxx>
Cc: Sami Farin <safari-kernel@xxxxxxxxxxxxx>
Cc: Theodore Ts'o <tytso@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/char/random.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/char/random.c~drivers-char-randomcwrite_pool-cond_resched-needed drivers/char/random.c
--- a/drivers/char/random.c~drivers-char-randomcwrite_pool-cond_resched-needed
+++ a/drivers/char/random.c
@@ -1039,6 +1039,7 @@ write_pool(struct entropy_store *r, cons
 		p += bytes;
 
 		add_entropy_words(r, buf, (bytes + 3) / 4);
+		cond_resched();
 	}
 
 	return 0;
_

Patches currently in -mm which might be from mpm@xxxxxxxxxxx are

origin.patch
random-clean-up-checkpatch-complaints.patch
random-clean-up-checkpatch-complaints-fix.patch
random-consolidate-wakeup-logic.patch
random-use-unlocked_ioctl.patch
random-reuse-rand_initialize.patch
random-improve-variable-naming-clear-extract-buffer.patch
random-make-backtracking-attacks-harder.patch
random-remove-cacheline-alignment-for-locks.patch
random-eliminate-redundant-new_rotate-variable.patch
random-remove-some-prefetch-logic.patch
random-simplify-add_ptr-logic.patch
random-make-mixing-interface-byte-oriented.patch
random-simplify-and-rename-credit_entropy_store.patch
random-add-async-notification-support-to-dev-random.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

  Powered by Linux