Re: svn commit: r286787 - head/sys/x86/x86

2015-08-17 Thread Roger Pau Monné
El 16/08/15 a les 11.50, Konstantin Belousov ha escrit: > On Sun, Aug 16, 2015 at 12:03:58PM +0300, Konstantin Belousov wrote: >> On Sun, Aug 16, 2015 at 10:16:53AM +0200, Roger Pau Monn?? wrote: >>> pmap_map_io_transient contains some of this logic, but it uses >>> vmem_alloc (with M_WAITOK) inste

Re: svn commit: r286787 - head/sys/x86/x86

2015-08-16 Thread Alan Cox
On 08/16/2015 04:50, Konstantin Belousov wrote: > On Sun, Aug 16, 2015 at 12:03:58PM +0300, Konstantin Belousov wrote: >> On Sun, Aug 16, 2015 at 10:16:53AM +0200, Roger Pau Monn?? wrote: >>> pmap_map_io_transient contains some of this logic, but it uses >>> vmem_alloc (with M_WAITOK) instead of a

Re: svn commit: r286787 - head/sys/x86/x86

2015-08-16 Thread Jason Harmening
On 08/16/15 04:50, Konstantin Belousov wrote: > On Sun, Aug 16, 2015 at 12:03:58PM +0300, Konstantin Belousov wrote: >> On Sun, Aug 16, 2015 at 10:16:53AM +0200, Roger Pau Monn?? wrote: >>> pmap_map_io_transient contains some of this logic, but it uses >>> vmem_alloc (with M_WAITOK) instead of a pc

Re: svn commit: r286787 - head/sys/x86/x86

2015-08-16 Thread Konstantin Belousov
On Sun, Aug 16, 2015 at 12:03:58PM +0300, Konstantin Belousov wrote: > On Sun, Aug 16, 2015 at 10:16:53AM +0200, Roger Pau Monn?? wrote: > > pmap_map_io_transient contains some of this logic, but it uses > > vmem_alloc (with M_WAITOK) instead of a pcpu pageframe, which defeats > > part of the purpo

Re: svn commit: r286787 - head/sys/x86/x86

2015-08-16 Thread Konstantin Belousov
On Sun, Aug 16, 2015 at 10:16:53AM +0200, Roger Pau Monn?? wrote: > pmap_map_io_transient contains some of this logic, but it uses > vmem_alloc (with M_WAITOK) instead of a pcpu pageframe, which defeats > part of the purpose of this change and cannot be used as-is. This logic can be repeated, but

Re: svn commit: r286787 - head/sys/x86/x86

2015-08-16 Thread Roger Pau Monné
El 15/08/15 a les 17.30, Jason Harmening ha escrit: > On 08/15/15 08:05, Roger Pau Monné wrote: >> El 14/08/15 a les 22.08, Jason A. Harmening ha escrit: >>> Author: jah >>> Date: Fri Aug 14 20:08:16 2015 >>> New Revision: 286787 >>> URL: https://svnweb.freebsd.org/changeset/base/286787 >>> >>> Log

Re: svn commit: r286787 - head/sys/x86/x86

2015-08-15 Thread Jason Harmening
On 08/15/15 08:05, Roger Pau Monné wrote: > El 14/08/15 a les 22.08, Jason A. Harmening ha escrit: >> Author: jah >> Date: Fri Aug 14 20:08:16 2015 >> New Revision: 286787 >> URL: https://svnweb.freebsd.org/changeset/base/286787 >> >> Log: >> Use pmap_quick_enter_page() to handle bouncing of unma

Re: svn commit: r286787 - head/sys/x86/x86

2015-08-15 Thread Roger Pau Monné
El 14/08/15 a les 22.08, Jason A. Harmening ha escrit: > Author: jah > Date: Fri Aug 14 20:08:16 2015 > New Revision: 286787 > URL: https://svnweb.freebsd.org/changeset/base/286787 > > Log: > Use pmap_quick_enter_page() to handle bouncing of unmapped buffers in the > x86 busdma_bounce implement