aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorChris Metcalf <[email protected]>2016-01-25 20:05:34 +0000
committerChris Metcalf <[email protected]>2016-03-02 20:19:44 +0000
commit77ef8f5177599efd0cedeb52c1950c1bd73fa5e3 (patch)
treeb6091bf407bc008da5fd6e68d4eaca4d543efe58 /fs/jbd2/commit.c
parentLinux 4.5-rc5 (diff)
downloadkernel-77ef8f5177599efd0cedeb52c1950c1bd73fa5e3.tar.gz
kernel-77ef8f5177599efd0cedeb52c1950c1bd73fa5e3.zip
tile kgdb: fix bug in copy to gdb regs, and optimize memset
David Binderman pointed out that we were doing a full memset() of the gdb register buffer and then doing a memcpy() to it that was almost as big. This commit optimizes that by only doing a memset() of the registers that are intended to be zero. While making this change I noticed that we were not copying the link register (LR, number 55) due to a fencepost error in commit f419e6f63c5a ("arch: tile: kernel: kgdb.c: Use memcpy() instead of pointer copy one by one"), and I've corrected that as well. Reported-by: David Binderman <[email protected]> Signed-off-by: Chris Metcalf <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions