• Linus Torvalds's avatar
    Make /dev/zero reads interruptible by signals · 2b838687
    Linus Torvalds authored
    This helps with bad latencies for large reads from /dev/zero, but might
    conceivably break some application that "knows" that a read of /dev/zero
    cannot return early.  So do this early in the merge window to give us
    maximal test coverage, even if the patch is totally trivial.
    
    Obviously, no well-behaved application should ever depend on the read
    being uninterruptible, but hey, bugs happen.
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    2b838687
mem.c 20.3 KB