svn commit: r316767 - head/sys/amd64/amd64

2017-04-13 Thread Konstantin Belousov
Author: kib Date: Thu Apr 13 15:49:55 2017 New Revision: 316767 URL: https://svnweb.freebsd.org/changeset/base/316767 Log: Map DMAP as nx. Demotions preserve PG_NX, so it is enough to set nx bit for initial lowest-level paging entries. Suggested and reviewed by:alc Sponsored by

RE: svn commit: r316767 - head/sys/amd64/amd64

2017-04-18 Thread Dexuan Cui via svn-src-head
> From: owner-svn-src-h...@freebsd.org [mailto:owner-svn-src- > h...@freebsd.org] On Behalf Of Konstantin Belousov > Sent: Thursday, April 13, 2017 23:50 > > Author: kib > Date: Thu Apr 13 15:49:55 2017 > New Revision: 316767 > URL: > > Log: > Map DMAP as nx. > > Demotions preserve PG_NX, so

Re: svn commit: r316767 - head/sys/amd64/amd64

2017-04-18 Thread Konstantin Belousov
On Tue, Apr 18, 2017 at 12:41:09PM +, Dexuan Cui wrote: > > From: owner-svn-src-h...@freebsd.org [mailto:owner-svn-src- > > h...@freebsd.org] On Behalf Of Konstantin Belousov > > Sent: Thursday, April 13, 2017 23:50 > > > > Author: kib > > Date: Thu Apr 13 15:49:55 2017 > > New Revision: 31676

RE: svn commit: r316767 - head/sys/amd64/amd64

2017-04-18 Thread Dexuan Cui via svn-src-head
> From: Konstantin Belousov > > It looks memory allocated by bus_dmamem_alloc() and malloc() > > is not executable now. > > > > What else can we use? > > I guess we can only use contigmalloc() or kmem_malloc() to > > get a page that can be executable and use vtophys() to get its > > physical addres

Re: svn commit: r316767 - head/sys/amd64/amd64

2017-06-10 Thread Alexey Dokuchaev
On Thu, Apr 13, 2017 at 03:49:55PM +, Konstantin Belousov wrote: > New Revision: 316767 > URL: https://svnweb.freebsd.org/changeset/base/316767 > > Log: > Map DMAP as nx. > > Demotions preserve PG_NX, so it is enough to set nx bit for initial > lowest-level paging entries. Hi Kostik,

Re: svn commit: r316767 - head/sys/amd64/amd64

2017-06-10 Thread Alexey Dokuchaev
On Sat, Jun 10, 2017 at 11:51:25PM +, Alexey Dokuchaev wrote: > On Thu, Apr 13, 2017 at 03:49:55PM +, Konstantin Belousov wrote: > > New Revision: 316767 > > URL: https://svnweb.freebsd.org/changeset/base/316767 > > > > Log: > > Map DMAP as nx. > > > > Demotions preserve PG_NX, so i

Re: svn commit: r316767 - head/sys/amd64/amd64

2017-06-11 Thread Konstantin Belousov
On Sun, Jun 11, 2017 at 04:13:57AM +, Alexey Dokuchaev wrote: > On Sat, Jun 10, 2017 at 11:51:25PM +, Alexey Dokuchaev wrote: > > On Thu, Apr 13, 2017 at 03:49:55PM +, Konstantin Belousov wrote: > > > New Revision: 316767 > > > URL: https://svnweb.freebsd.org/changeset/base/316767 > > >

Re: svn commit: r316767 - head/sys/amd64/amd64

2017-06-11 Thread Alexey Dokuchaev
On Sun, Jun 11, 2017 at 03:20:25PM +0300, Konstantin Belousov wrote: > Do you claim that latest HEAD with reverted r316767 reboots on resume > on your machine ? Please confirm. Yes, I do claim that; confirmed. > Are you running on AMD CPU ? Yes, on AMD A8-5550M APU. > I want to see the first 1