[PATCH v2 3/7] ARM: mm: Cleanup access_error()

Russell King (Oracle) linux at armlinux.org.uk
Wed Jun 2 03:39:11 PDT 2021


Hi,

On Wed, Jun 02, 2021 at 03:02:42PM +0800, Kefeng Wang wrote:
> Now the write fault check in do_page_fault() and access_error() twice,
> we can cleanup access_error(), and make the fault check and vma flags set
> into do_page_fault() directly, then pass the vma flags to __do_page_fault.
> 
> No functional change.
> 
> Signed-off-by: Kefeng Wang <wangkefeng.wang at huawei.com>

Looks fine to me. Thanks.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!



More information about the linux-arm-kernel mailing list