Re: Sleeping in user_access section

From: Russell King - ARM Linux
Date: Fri Nov 23 2018 - 05:50:55 EST


On Fri, Nov 23, 2018 at 01:57:12AM -0800, hpa@xxxxxxxxx wrote:
> You should never call a sleeping function from a user_access section.
> It is intended for very limited regions.

So, what happens if the "unsafe" user access causes a page fault that
ends up sleeping?

--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up