On Fri, 2011-03-25 at 15:50 +0100, Frederic Weisbecker wrote: > 2011/3/25 Peter Zijlstra <[email protected]>: > > On Wed, 2011-03-23 at 19:29 +0100, Frederic Weisbecker wrote: > > > >> -int sysctl_perf_event_mlock __read_mostly = 512; /* 'free' kb per user */ > >> +/* Minimum for 128 pages + 1 for the user control page */ > >> +int sysctl_perf_event_mlock __read_mostly = 516; /* 'free' kb per user */ > > > > This assumes PAGE_SIZE = 4k.. > > Yeah, should I rebase the value on top of PAGE_SIZE?
Possibly yeah, I guess that when the base page size if 64k you really can't do anything about wasting the whole first page, comes with the territory. _______________________________________________ stable mailing list [email protected] http://linux.kernel.org/mailman/listinfo/stable
