GitHub PushEvent at 2014-07-01 08:55:23
Repository: osv
Actor: penberg
Payload: {"shas":[["3b36ade79df64b6d4c58687a1909008eb904ffe7","625169824b719df98706d88646d0aae6f368ae4d@cloudius-systems.com","sched: Add API for iterating over all threads\n\nWe currently don't provide any method of iterating over all threads (something\nwhich, \"top\" would like to do, for example). thread_map and thread_map_mutex\nare private to sched.cc, and should stay that way.\n\nSo this patch provides a new function with_all_friends(f), which iterates\nover all threads and calls the given std::function for each one. The\nfunction is supposed to be safe (a thread will not be freed while someone\nis running f on it), but it is inefficient as it holds thread_map_mutex\nthroughout the entire iteration, so it should currently only be used for\ndebugging purposes, e.g., for implementing \"top\".\n\nReviewed-by: Glauber Costa <glommer@cloudius-systems.com>\nSigned-off-by: Nadav Har'El <nyh@cloudius-systems.com>\nSigned-off-by: Pekka Enberg <penberg@cloudius-systems.com>","Nadav Har'El",true],["517426446f3632f3d33ef4847001c74a024ce4e5","1e2942cea40e3b4d2162dfcd9e53e41c05a84d22@cloudius-systems.com","random: hw source of entropy should be conditionally registered\n\nThe hardware source of entropy should be only registered when\navailable, e.g. virtio-rng.\n\nReviewed-by: Nadav Har'El <nyh@cloudius-systems.com>\nSigned-off-by: Raphael S. Carvalho <raphaelsc@cloudius-systems.com>\nSigned-off-by: Pekka Enberg <penberg@cloudius-systems.com>","Raphael S. Carvalho",true],["ddcfc924a739565f6dd2f7189ef6d6471216a179","1e2942cea40e3b4d2162dfcd9e53e41c05a84d22@cloudius-systems.com","random: Avoid uneeded buffer allocation/deletion\n\nReviewed-by: Nadav Har'El <nyh@cloudius-systems.com>\nSigned-off-by: Raphael S. Carvalho <raphaelsc@cloudius-systems.com>\nSigned-off-by: Pekka Enberg <penberg@cloudius-systems.com>","Raphael S. Carvalho",true]],"size":3,"ref":"refs/heads/master","head":"ddcfc924a739565f6dd2f7189ef6d6471216a179"}