Re: [PATCH 00/10] fix freepage count problems due to memory isolation

2014-07-17 Thread Vlastimil Babka
On 07/17/2014 08:12 AM, Joonsoo Kim wrote: Hm I see. So what if it wasn't a special pcplist, but a special "free list" where the pages would be just linked together as on pcplist, regardless of order, and would not merge until the CPU that drives the memory isolation process decides it is safe t

Re: [PATCH 00/10] fix freepage count problems due to memory isolation

2014-07-16 Thread Joonsoo Kim
On Wed, Jul 16, 2014 at 01:14:26PM +0200, Vlastimil Babka wrote: > On 07/16/2014 10:43 AM, Joonsoo Kim wrote: > >> I think your plan of multiple parallel CMA allocations (and thus > >> multiple parallel isolations) is also possible. The isolate pcplists > >> can be shared by pages coming from multi

Re: [PATCH 00/10] fix freepage count problems due to memory isolation

2014-07-16 Thread Vlastimil Babka
On 07/16/2014 10:43 AM, Joonsoo Kim wrote: >> I think your plan of multiple parallel CMA allocations (and thus >> multiple parallel isolations) is also possible. The isolate pcplists >> can be shared by pages coming from multiple parallel isolations. But >> the flush operation needs a pfn start/end

Re: [PATCH 00/10] fix freepage count problems due to memory isolation

2014-07-16 Thread Joonsoo Kim
On Tue, Jul 15, 2014 at 10:36:35AM +0200, Vlastimil Babka wrote: > >>A non-trivial fix that comes to mind (and I might have overlooked > >>something) is something like: > >> > >>- distinguish MIGRATETYPE_ISOLATING and MIGRATETYPE_ISOLATED > >>- CPU1 first sets MIGRATETYPE_ISOLATING before the drain

Re: [PATCH 00/10] fix freepage count problems due to memory isolation

2014-07-15 Thread Vlastimil Babka
On 07/15/2014 10:28 AM, Joonsoo Kim wrote: On Mon, Jul 14, 2014 at 11:49:25AM +0200, Vlastimil Babka wrote: On 07/14/2014 08:22 AM, Joonsoo Kim wrote: On Mon, Jul 07, 2014 at 04:33:09PM +0200, Vlastimil Babka wrote: On 07/07/2014 06:49 AM, Joonsoo Kim wrote: Ccing Lisa, because there was bug

Re: [PATCH 00/10] fix freepage count problems due to memory isolation

2014-07-15 Thread Joonsoo Kim
On Mon, Jul 14, 2014 at 11:49:25AM +0200, Vlastimil Babka wrote: > On 07/14/2014 08:22 AM, Joonsoo Kim wrote: > >On Mon, Jul 07, 2014 at 04:33:09PM +0200, Vlastimil Babka wrote: > >>On 07/07/2014 06:49 AM, Joonsoo Kim wrote: > >>>Ccing Lisa, because there was bug report it may be related this > >>>

Re: [PATCH 00/10] fix freepage count problems due to memory isolation

2014-07-14 Thread Vlastimil Babka
On 07/14/2014 08:22 AM, Joonsoo Kim wrote: On Mon, Jul 07, 2014 at 04:33:09PM +0200, Vlastimil Babka wrote: On 07/07/2014 06:49 AM, Joonsoo Kim wrote: Ccing Lisa, because there was bug report it may be related this topic last Saturday. http://www.spinics.net/lists/linux-mm/msg75741.html On Fr

Re: [PATCH 00/10] fix freepage count problems due to memory isolation

2014-07-13 Thread Joonsoo Kim
On Mon, Jul 07, 2014 at 04:33:09PM +0200, Vlastimil Babka wrote: > On 07/07/2014 06:49 AM, Joonsoo Kim wrote: > >Ccing Lisa, because there was bug report it may be related this > >topic last Saturday. > > > >http://www.spinics.net/lists/linux-mm/msg75741.html > > > >On Fri, Jul 04, 2014 at 05:33:27

Re: [PATCH 00/10] fix freepage count problems due to memory isolation

2014-07-07 Thread Vlastimil Babka
On 07/07/2014 06:49 AM, Joonsoo Kim wrote: Ccing Lisa, because there was bug report it may be related this topic last Saturday. http://www.spinics.net/lists/linux-mm/msg75741.html On Fri, Jul 04, 2014 at 05:33:27PM +0200, Vlastimil Babka wrote: On 07/04/2014 09:57 AM, Joonsoo Kim wrote: Hello

Re: [PATCH 00/10] fix freepage count problems due to memory isolation

2014-07-06 Thread Joonsoo Kim
Ccing Lisa, because there was bug report it may be related this topic last Saturday. http://www.spinics.net/lists/linux-mm/msg75741.html On Fri, Jul 04, 2014 at 05:33:27PM +0200, Vlastimil Babka wrote: > On 07/04/2014 09:57 AM, Joonsoo Kim wrote: > > Hello, > > Hi Joonsoo, > > please CC me on f

Re: [PATCH 00/10] fix freepage count problems due to memory isolation

2014-07-04 Thread Vlastimil Babka
On 07/04/2014 09:57 AM, Joonsoo Kim wrote: > Hello, Hi Joonsoo, please CC me on further updates, this is relevant to me. > This patchset aims at fixing problems due to memory isolation found by > testing my patchset [1]. > > These are really subtle problems so I can be wrong. If you find what I