Re: [PATCH 1/9] mm/maccess: fix unaligned copy_{from,to}_kernel_nofault

2020-11-06 Thread Linus Walleij
On Fri, Oct 30, 2020 at 4:49 PM Arnd Bergmann wrote: > From: Arnd Bergmann > > On machines such as ARMv5 that trap unaligned accesses, these > two functions can be slow when each access needs to be emulated, > or they might not work at all. > > Change them so that each loop is only used when

[PATCH 1/9] mm/maccess: fix unaligned copy_{from,to}_kernel_nofault

2020-10-30 Thread Arnd Bergmann
From: Arnd Bergmann On machines such as ARMv5 that trap unaligned accesses, these two functions can be slow when each access needs to be emulated, or they might not work at all. Change them so that each loop is only used when both the src and dst pointers are naturally aligned. Reviewed-by:

Re: [PATCH 1/9] mm/maccess: fix unaligned copy_{from,to}_kernel_nofault

2020-09-27 Thread Linus Walleij
On Mon, Sep 7, 2020 at 5:37 PM Arnd Bergmann wrote: > On machines such as ARMv5 that trap unaligned accesses, these > two functions can be slow when each access needs to be emulated, > or they might not work at all. > > Change them so that each loop is only used when both the src > and dst

Re: [PATCH 1/9] mm/maccess: fix unaligned copy_{from,to}_kernel_nofault

2020-09-08 Thread Christoph Hellwig
Looks good: Reviewed-by: Christoph Hellwig This should probably go into Al's base.set_fs branch.

[PATCH 1/9] mm/maccess: fix unaligned copy_{from,to}_kernel_nofault

2020-09-07 Thread Arnd Bergmann
On machines such as ARMv5 that trap unaligned accesses, these two functions can be slow when each access needs to be emulated, or they might not work at all. Change them so that each loop is only used when both the src and dst pointers are naturally aligned. Signed-off-by: Arnd Bergmann ---