summaryrefslogtreecommitdiff
path: root/contrib/webcscope/icons/left.gif
blob: 279e6710d4961d7644ea2e3e39e6afd300147aa8 (plain)
ofshex dumpascii
0000 47 49 46 38 39 61 14 00 16 00 a1 00 00 ff ff ff cc ff ff 00 00 00 00 00 00 21 fe 4e 54 68 69 73 GIF89a...................!.NThis
0020 20 61 72 74 20 69 73 20 69 6e 20 74 68 65 20 70 75 62 6c 69 63 20 64 6f 6d 61 69 6e 2e 20 4b 65 .art.is.in.the.public.domain..Ke
0040 76 69 6e 20 48 75 67 68 65 73 2c 20 6b 65 76 69 6e 68 40 65 69 74 2e 63 6f 6d 2c 20 53 65 70 74 vin.Hughes,.kevinh@eit.com,.Sept
0060 65 6d 62 65 72 20 31 39 39 35 00 21 f9 04 01 00 00 01 00 2c 00 00 00 00 14 00 16 00 00 02 2b 8c ember.1995.!.......,..........+.
0080 8f a9 cb cd e2 1e 8c 49 58 8a ec c5 41 6f ea 7d 4e 28 4a 64 44 6a 68 3a 8d 29 f6 c2 21 d7 79 74 .......IX...Ao.}N(JdDjh:.)..!.yt
00a0 5d 82 b9 7e 1f 6d 0f 64 14 00 00 3b ]..~.m.d...;
tree/sound/ppc/snd_ps3.c?id=433e19cf33d34bb6751c874a9c00980552fe508c'>sound/ppc/snd_ps3.c parent191e885a2e130e639bb0c8ee350d7047294f2ce6 (diff)
Drivers: hv: vmbus: finally fix hv_need_to_signal_on_read()
Commit a389fcfd2cb5 ("Drivers: hv: vmbus: Fix signaling logic in hv_need_to_signal_on_read()") added the proper mb(), but removed the test "prev_write_sz < pending_sz" when making the signal decision. As a result, the guest can signal the host unnecessarily, and then the host can throttle the guest because the host thinks the guest is buggy or malicious; finally the user running stress test can perceive intermittent freeze of the guest. This patch brings back the test, and properly handles the in-place consumption APIs used by NetVSC (see get_next_pkt_raw(), put_pkt_raw() and commit_rd_index()). Fixes: a389fcfd2cb5 ("Drivers: hv: vmbus: Fix signaling logic in hv_need_to_signal_on_read()") Signed-off-by: Dexuan Cui <decui@microsoft.com> Reported-by: Rolf Neugebauer <rolf.neugebauer@docker.com> Tested-by: Rolf Neugebauer <rolf.neugebauer@docker.com> Cc: "K. Y. Srinivasan" <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Cc: Stephen Hemminger <sthemmin@microsoft.com> Cc: <stable@vger.kernel.org> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/ppc/snd_ps3.c')