Ingo Schwarze wrote:
> Hi,
>
> >> A downside of this is that it becomes easier to guess the addresses
> >> of the tagged variables.
>
> > No kidding. It partly undoes the effort of KARL.
>
> I don't feel qualified to comment on the patch,
> but i can't resist mentioning that i still love
>
Hi,
>> A downside of this is that it becomes easier to guess the addresses
>> of the tagged variables.
> No kidding. It partly undoes the effort of KARL.
I don't feel qualified to comment on the patch,
but i can't resist mentioning that i still love
tedu@'s classical dictum "attack mitigation
> A downside of this is that it becomes easier to guess the addresses
> of the tagged variables.
No kidding. It partly undoes the effort of KARL.
Linux uses pseudo-attribute __read_mostly to tag variables that are read
frequently but written seldom. These variables are grouped together
at link time. This improves cache usage by reducing false sharing.
__read_mostly has been adopted by FreeBSD, DragonFly BSD and NetBSD.
The former two also