[GIT PULL] usercopy for v5.4-rc4

From: Christian Brauner
Date: Fri Oct 18 2019 - 11:34:21 EST


Hi Linus,

/* Summary */
This contains two improvements for the copy_struct_from_user() tests:
- The first patch is a coding style change to get rid of the ugly
if ((ret |= test())) you pointed out when you pulled the original patchset.
- The second patch avoids soft lockups when running the usercopy tests on
machines with large page sizes by scanning only a 1024 byte region.

The following changes since commit da0c9ea146cbe92b832f1b0f694840ea8eb33cce:

Linux 5.4-rc2 (2019-10-06 14:27:30 -0700)

are available in the Git repository at:

git@xxxxxxxxxxxxxxxxxxx:pub/scm/linux/kernel/git/brauner/linux tags/copy-struct-from-user-v5.4-rc4

for you to fetch changes up to f418dddffc8007945fd5962380ebde770a240cf5:

usercopy: Avoid soft lockups in test_check_nonzero_user() (2019-10-16 14:56:21 +0200)

/* Testing */
All patches have seen exposure in linux-next and are based on v5.4-rc2.

/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next.

Please consider pulling these changes from the signed
copy-struct-from-user-v5.4-rc4 tag.

Thanks!
Christian

----------------------------------------------------------------
copy-struct-from-user-v5.4-rc4

----------------------------------------------------------------
Aleksa Sarai (1):
lib: test_user_copy: style cleanup

Michael Ellerman (1):
usercopy: Avoid soft lockups in test_check_nonzero_user()

lib/test_user_copy.c | 37 ++++++++++++++++++++++++++++---------
1 file changed, 28 insertions(+), 9 deletions(-)