> > + for (c = 0 ; c < addp.length; c += PAGE_SIZE) { > > + if (signal_pending(current)) { > > + if (!c) > > + ret = -EINTR; > > + > > + break; > > + } > > + > > Return -ERESTARTSYS so that kernel can restart this IOC when SA_RESTART is > set? Yes, this is quite obvious. I will change it, thank you. /Jarkko