RE: [patch 07/11] PAT x86: pat-conflict resolution using linear list

2008-01-10 Thread Pallipadi, Venkatesh
PROTECTED]; >[EMAIL PROTECTED]; [EMAIL PROTECTED]; >linux-kernel@vger.kernel.org; Siddha, Suresh B >Subject: Re: [patch 07/11] PAT x86: pat-conflict resolution >using linear list > >[EMAIL PROTECTED] writes: >> >> /* Reset the dire

Re: [patch 07/11] PAT x86: pat-conflict resolution using linear list

2008-01-10 Thread Andi Kleen
[EMAIL PROTECTED] writes: > > /* Reset the direct mapping. Can block */ > - if (p->flags >> 20) > - ioremap_change_attr(p->phys_addr, p->size, 0); > + if (p->flags >> 20) { > + free_mattr(p->phys_addr, p->phys_addr + get_vm_area_size(p), > +