Re: [PATCH 4/6] s390: add system call to run tasks with modified branch prediction

From: Florian Weimer
Date: Wed Jan 17 2018 - 05:03:35 EST


On 01/17/2018 10:48 AM, Martin Schwidefsky wrote:
rc = syscall(__NR_s390_modify_bp);
if (rc) {
perror("s390_modify_bp");
exit(EXIT_FAILURE);
}

Isn't this traditionally done through personality or prctl?

This looks like something other architectures may want as well.

Thanks,
Florian