Re: Help with a bug in mmap

2018-11-01 Thread Kamil Rytarowski
On 01.11.2018 12:34, Izumi Tsutsui wrote: > jmcneill@ wrote: > >> On Wed, 31 Oct 2018, Taylor R Campbell wrote: >> >>> For the moment, as a provisional workaround to make progress, you can >>> probably get by with `pa << PGSHIFT', where pa is the physical (byte) >> >> I think this should be `pa

Re: Help with a bug in mmap

2018-11-01 Thread Izumi Tsutsui
jmcneill@ wrote: > On Wed, 31 Oct 2018, Taylor R Campbell wrote: > > > For the moment, as a provisional workaround to make progress, you can > > probably get by with `pa << PGSHIFT', where pa is the physical (byte) > > I think this should be `pa >> PGSHIFT`, or even better use `atop(pa)`. Some