Re: CMA region absolutely for a particular device?

2016-06-08 Thread Shawn Guo
On Tue, Jun 7, 2016 at 11:55 PM, Laura Abbott wrote: > You could try backporting the ZONE_CMA patches > http://article.gmane.org/gmane.linux.kernel.mm/152016 . The primary problem > there was CMA utilization but there was some discussion about migration > success as well

Re: CMA region absolutely for a particular device?

2016-06-08 Thread Shawn Guo
On Tue, Jun 7, 2016 at 11:55 PM, Laura Abbott wrote: > You could try backporting the ZONE_CMA patches > http://article.gmane.org/gmane.linux.kernel.mm/152016 . The primary problem > there was CMA utilization but there was some discussion about migration > success as well

Re: CMA region absolutely for a particular device?

2016-06-07 Thread Laura Abbott
On 06/07/2016 05:59 AM, Shawn Guo wrote: Hi, I'm using a separate CMA region than the system default one for a particular device to avoid fragmentation. It does help. But under certain circumstance (memory shortage), it seems some of the pages in the region will be used by system. The really

Re: CMA region absolutely for a particular device?

2016-06-07 Thread Laura Abbott
On 06/07/2016 05:59 AM, Shawn Guo wrote: Hi, I'm using a separate CMA region than the system default one for a particular device to avoid fragmentation. It does help. But under certain circumstance (memory shortage), it seems some of the pages in the region will be used by system. The really

CMA region absolutely for a particular device?

2016-06-07 Thread Shawn Guo
Hi, I'm using a separate CMA region than the system default one for a particular device to avoid fragmentation. It does help. But under certain circumstance (memory shortage), it seems some of the pages in the region will be used by system. The really bad thing is that when a CMA allocation

CMA region absolutely for a particular device?

2016-06-07 Thread Shawn Guo
Hi, I'm using a separate CMA region than the system default one for a particular device to avoid fragmentation. It does help. But under certain circumstance (memory shortage), it seems some of the pages in the region will be used by system. The really bad thing is that when a CMA allocation