On Fri, 29 Nov 2019 17:13:14 -0600, Jarkko Sakkinen [off-list ref] wrote:
quoted hunk ↗ jump to hunk
+
+ for (c = 0 ; c < addp.length; c += PAGE_SIZE) {
+ if (signal_pending(current)) {
+ ret = -ERESTARTSYS;
+ break;
+ }
This IOC is not idempotent as pages EADDed at this point can not be re-EADDed again. So we can't return ERESTARTSYS
Haitao