> +populate: > + count = raio->len/sizeof(unsigned long); > + i = offsetof(struct aio_ring, io_events)/sizeof(unsigned long); > + > + for (; i < count; i++) > + ((unsigned long *)ctx)[i] = ((unsigned long *)ring)[i]; We have builtin_memcpy() for pie code. Would it work? > > /* > * If we failed to get the proper nr_req right and