summaryrefslogtreecommitdiffstats
path: root/mm/memory.c
diff options
context:
space:
mode:
authorJoe Korty2006-03-31 12:30:32 +0200
committerLinus Torvalds2006-03-31 22:18:53 +0200
commit68eef3b4791572ecb70249c7fb145bb3742dd899 (patch)
tree1f61fce839cec8d672ae06a423d46f0a6fcd924d /mm/memory.c
parent[PATCH] __mod_timer: simplify ->base changing (diff)
downloadkernel-qcow2-linux-68eef3b4791572ecb70249c7fb145bb3742dd899.tar.gz
kernel-qcow2-linux-68eef3b4791572ecb70249c7fb145bb3742dd899.tar.xz
kernel-qcow2-linux-68eef3b4791572ecb70249c7fb145bb3742dd899.zip
[PATCH] Simplify proc/devices and fix early termination regression
Make baby-simple the code for /proc/devices. Based on the proven design for /proc/interrupts. This also fixes the early-termination regression 2.6.16 introduced, as demonstrated by: # dd if=/proc/devices bs=1 Character devices: 1 mem 27+0 records in 27+0 records out This should also work (but is untested) when /proc/devices >4096 bytes, which I believe is what the original 2.6.16 rewrite fixed. [akpm@osdl.org: cleanups, simplifications] Signed-off-by: Joe Korty <joe.korty@ccur.com> Cc: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions