On Wed, May 01, 2019 at 06:19:00PM -0400, Jann Horn wrote: > Regarding the LSFMM talk today: > So with the page ref bias, the maximum number of page references will > be something like 2^22, right? Is the bias only applied to writable > references or also readonly ones? 2^21, because it's going to get caught by the < 0 check. I think that's fine, though. Anyone trying to map that page so many times is clearly doing something either malicious or inadvertently very wrong. After the 2 millionth time, attempting to pin the page will fail, and the application will have to deal with that failure.